(function(){ window.__SPOTIM_INIT__={"config":{"id":"sp_jpost","network":{"id":"spotim"},"name":"Jpost","lazy_load_margin":"800px","main_language":"en","website_url":"www.jpost.com","brand_color":"#CA0000","category_id":16,"sub_category_id":4,"platform":"universal","languages":[],"connect_networks":["facebook","google","twitter","email"],"custom_login":false,"ticker_icon":null,"ticker_icon_size":16,"ticker_skin":"brand","newsfeed_skin":"light","newsfeed_position":"right","opening_mode":"on_click","mini_newsfeed_enabled":false,"sort_by":"best","rich_say_control_enabled":true,"comment_replies_max_depth":6,"inpage_skin":"light","recommendation_enabled":true,"giphy_level":"G","display_name_in_say_control_for_guests":false,"enable_dislikes":false,"enable_user_points":true,"enable_realtime_comments_sticky":true,"avatars":{"scheme":"colorful","numbered":false},"circulation":{"enabled":false,"rows_count":1},"ltr":true,"policy":{"roger_mode":true,"force_register":false,"allow_guests_to_like":true},"whitelisted_urls":[],"injection":{"frame_script":"\n \n(new Image()).src = \"//sync.search.spotxchange.com/partner?source=211945\";\n \n\n","frame_style":"\n \n .spot-im-sticky {\n\t\t\tdisplay: none !important;\n\t\t}\n \n","host_options":"SPOTIM_OPTIONS = {\n enableNewsfeed: false\n}"},"sso_enabled":null,"sso_started_by_spotim":false,"ads":null,"monetized":true,"enable_spotim_utm":true,"open_links_in_new_tab":false,"external_public_profile":false,"has_community":false},"newsfeed":{"total_items":94327},"broadcast_live":false}; window.__SPOTIM_ENV__="production"; window.__SPOTIM_ON_PAGE_VERSION__="4.1.191-fed.prerender-ykBe0OPJ.0"; window.__SPOTIM_CUSTOMIZATIONS__={"success":false,"reason":"spot-not-found"}; })();!function(e){function t(n){if(r[n])return r[n].exports;var u=r[n]={i:n,l:!1,exports:{}};return e[n].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var n=window.webpackJsonp_spotim_1647202368;window.webpackJsonp_spotim_1647202368=function(t,r,o){for(var i,s,a=0,c=[];a1&&void 0!==arguments[1]?arguments[1]:void 0,n={},r=e.indexOf("?");if(r>-1){var o=e.substring(r+1);""!==o&&o.split("&").forEach(function(e){var r=e.split("="),o=u(r,2),i=o[0],s=o[1];if(!t||-1!==t.indexOf(i))try{n[i]=decodeURIComponent(s)}catch(e){}})}return n}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){var n=[],r=!0,u=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(u)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.objectFromQueryString=r},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.hasOwnProperty||!(e.hasOwnProperty("__ownerID")||e._map&&e._map.hasOwnProperty("__ownerID")))}function u(e,t,n){return Object.keys(e).reduce(function(t,r){var u=""+r;return t.has(u)?t.set(u,n(t.get(u),e[u])):t},t)}Object.defineProperty(t,"__esModule",{value:!0}),t.isImmutable=r,t.denormalizeImmutable=u},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function u(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function o(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}function i(){y&&d&&(y=!1,d.length?h=d.concat(h):m=-1,h.length&&s())}function s(){if(!y){var e=u(i);y=!0;for(var t=h.length;t;){for(d=h,h=[];++m1)for(var n=1;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";function r(e){if(!f){var t=(0,o.getStoredCurrentUserId)();c.setSpotId(e),c.setCurrentUserId(t);var n=a.default.get(s.CURRENT_USER_STORAGE_KEY);n&&c.setCurrentUserIsRegistered(n.isRegistered),c.track("loaded"),f=!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.trackRecirculation=t.trackConversation=t.track=t.tracker=void 0,t.reportLauncherLoaded=r;var u=n(221),o=n(62),i=n(227),s=n(101),a=function(e){return e&&e.__esModule?e:{default:e}}(s),c=t.tracker=(0,u.createTracker)("launcher",i.version);c.trackConversation=function(){var e=c.backwardsCompat.apply(c,arguments),t=e.eventType,n=e.params;n=n||{},n.source="conversation",c.track(t,n)},c.trackRecirculation=function(){var e=c.backwardsCompat.apply(c,arguments),t=e.eventType,n=e.params;n=n||{},n.source="recirculation",c.track(t,n)};var f=(t.track=c.track,t.trackConversation=c.trackConversation,t.trackRecirculation=c.trackRecirculation,!1)},function(e,t,n){var r=n(15),u=n(0).document,o=r(u)&&r(u.createElement);e.exports=function(e){return o?u.createElement(e):{}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(58)("keys"),u=n(56);e.exports=function(e){return r[e]||(r[e]=u(e))}},function(e,t,n){"use strict";function r(e){var t=e.offsetWidth,n=getComputedStyle(e);return t+=parseInt(n.marginLeft)+parseInt(n.marginRight)}function u(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop)+parseInt(n.marginBottom)}function o(e){e.innerHTML=""}function i(e,t){if(t&&(t=t.trim(),t.length>0))if(e.classList)e.classList.add(t);else if("string"==typeof e.className)e.className+=" "+t;else if("object"===y(e.className)){var n=e.getAttribute("class")||"";e.setAttribute("class",n+" "+t)}}function s(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function a(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}function c(e,t){a(e,t)?s(e,t):i(e,t)}function f(e){return{left:e.offsetLeft,top:e.offsetTop}}function l(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}function p(e,t){for(var n=t.charAt(0);e&&e!==document;e=e.parentNode){if("."===n&&e.classList.contains(t.substr(1)))return e;if("#"===n&&e.id===t.substr(1))return e;if("["===n&&e.hasAttribute(t.substr(1,t.length-2)))return e;if(e.tagName.toLowerCase()===t)return e}}function d(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function h(e){"complete"===document.readyState?e():window.addEventListener("load",e)}Object.defineProperty(t,"__esModule",{value:!0});var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.outerWidth=r,t.outerHeight=u,t.empty=o,t.addClass=i,t.removeClass=s,t.hasClass=a,t.toggleClass=c,t.position=f,t.offset=l,t.closest=p,t.ready=d,t.onWindowLoad=h},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.element,r=(0,i.getDeprecatedOptions)(),p=(0,a.getHostOptions)(),d=(0,c.getUrlOptions)(window.location.href),h=(0,f.getPredefinedOptions)(e),y=void 0;return n&&(y=(0,l.getElementOptions)(n)),(0,s.getSpotConfig)(e).then(function(t){return u({},o.defaults,{spotId:e},t,h,r,p,y,d)})}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1],n=Object.keys(e).reduce(function(t,n){return[].concat(r(t),[n+"="+encodeURIComponent(e[n])])},[]).join("&");return t&&n.length>0&&(n="?"+n),n}function i(e){var t=e.indexOf("?");if(-1===t)return{};var n=e.substring(t).slice(1).split("&"),r={};return n.forEach(function(e){e=e.split("="),""!==e[0]&&(r[e[0]]=decodeURIComponent(e[1]||""))}),JSON.parse(JSON.stringify(r))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=i(e),u=!1;return r.hasOwnProperty(t)&&(u=null===n||r[t]===n),u}function a(e,t){var n=e,r={};if(n){var u=n.indexOf("?");u>-1&&(r=i(n),n=n.substring(0,u))}else n="";var s=Object.assign(r,t),a=o(s);return a.length>0&&(n+=a),n}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.urlParams,r=t.queryString;return e=Object.keys(n).reduce(function(e,t){return e.indexOf(":"+t)>=-1&&(e=e.replace(":"+t,n[t])),e},e),a(e,r)}function f(e,t){return t.reduce(function(e,t){return l(e,t)},e)}function l(e,t){var n=e,r=e.indexOf("?");if(-1!==r){var u=e.substring(0,r),o=e.substring(r+1),i=new RegExp("&"+t+"(=[^&]*)?|^"+t+"(=[^&]*)?&?");o=o.replace(i,""),n=u+(o.length>0?"?":"")+o}return n}function p(e,t,n){var r=e,u=new RegExp("([?&])"+t+"=.*?(&|$)","i");if(e.match(u))r=e.replace(u,"$1"+t+"="+n+"$2");else{r=e+(-1!==e.indexOf("?")?"&":"?")+t+"="+n}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.objectFromQueryString=void 0;var d=n(25);Object.defineProperty(t,"objectFromQueryString",{enumerable:!0,get:function(){return d.objectFromQueryString}}),t.stripQueryStringAndHash=u,t.queryStringFromObject=o,t.buildUrl=a,t.composeUrl=c,t.removeParams=f;var h=n(171);t.default={parseUrl:i,buildUrl:a,getKey:h.getKey,setKey:p,removeParams:f,hasQueryString:s}},function(e,t,n){"use strict";(function(t){function r(e,t){!u.isUndefined(e)&&u.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u=n(2),o=n(179),i={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var e;return"undefined"!=typeof XMLHttpRequest?e=n(86):void 0!==t&&(e=n(86)),e}(),transformRequest:[function(e,t){return o(t,"Content-Type"),u.isFormData(e)||u.isArrayBuffer(e)||u.isBuffer(e)||u.isStream(e)||u.isFile(e)||u.isBlob(e)?e:u.isArrayBufferView(e)?e.buffer:u.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):u.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},u.forEach(["delete","get","head"],function(e){s.headers[e]={}}),u.forEach(["post","put","patch"],function(e){s.headers[e]=u.merge(i)}),e.exports=s}).call(t,n(28))},function(module,exports,__webpack_require__){"use strict";function parseSpotOptions(code){var hostOptions={};if(code)try{!function(c){try{var SPOTIM_OPTIONS={};eval(c),hostOptions=Object.assign(hostOptions,SPOTIM_OPTIONS)}catch(e){console.error("Failed to parse host options")}}(code)}catch(e){console.error("Failed to parse host options")}return hostOptions}Object.defineProperty(exports,"__esModule",{value:!0}),exports.parseSpotOptions=parseSpotOptions},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("div");n.innerHTML=e;var r=n.firstChild;return Object.keys(t).forEach(function(e){r.setAttribute(e,t[e])}),r}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.createElement("script");return Object.keys(t).forEach(function(e){n.setAttribute(e,t[e])}),n.src=e,n}function o(e){var t={};return[].filter.call(e.attributes,function(e){return/^data-/.test(e.name)}).filter(function(e){return"data-ready"!==e.name}).forEach(function(e){try{t[e.name]=e.value}catch(e){}}),t}function i(e,t){e.reduce(function(e,t){return e.parentNode.insertBefore(t,e.nextElementSibling),t},t)}function s(e,t){e.reduce(function(e,t){return e.parentNode.insertBefore(t,e),e},t)}function a(e,t){if("sp_ChtLPOxW"===e&&p.a){var n=m()(t);return new Promise(function(e){var r=Object(h.rafInterval)(200,function(){Object(d.isVisible)(t)&&n.scrollTop>0&&(r(),e())})})}return new Promise(function(e){var n=new IntersectionObserver(function(r){f()(r,1)[0].isIntersecting&&(e(),n.unobserve(t))},{rootMargin:v()});n.observe(t)})}t.a=r,t.b=u,t.c=o,t.d=i,t.e=s,t.f=a;var c=n(94),f=n.n(c),l=n(93),p=n.n(l),d=n(212),h=(n.n(d),n(213)),y=(n.n(h),n(214)),m=n.n(y),v=function(){return window.__SPOTIM_INIT__&&window.__SPOTIM_INIT__.config.lazy_load_margin||"800px"}},function(e,t,n){var r=n(21),u=n(1)("toStringTag"),o="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),u))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";function r(e,t){var n=i.a.modules[t],r=s.a.spotimVersion||window.$$SPOTIM_DEBUG$$.spotimVersion;return n&&r&&(n=n.replace(o()(),r)),n}t.a=r;var u=n(215),o=n.n(u),i=n(98),s=n(74);n(99)},function(e,t,n){"use strict";function r(e,t){return e===t}function u(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,u=0;u1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){return u(t,n,arguments)||(o=e.apply(null,arguments)),n=arguments,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:c;if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r2?arguments[2]:{},i=r(t);o&&(i=i.concat(Object.getOwnPropertySymbols(t))),u(i,function(r){c(e,r,t[r],n[r])})};f.supportsDescriptors=!!a,e.exports=f},function(e,t,n){"use strict";var r=n(147),u=n(22),o=n(23),i=o.call(Function.call,Object.prototype.propertyIsEnumerable);e.exports=function(e){var t=r.RequireObjectCoercible(e),n=[];for(var o in t)u(t,o)&&i(t,o)&&n.push([o,t[o]]);return n}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r,u,o=Object.getOwnPropertyDescriptor?function(){return Object.getOwnPropertyDescriptor(arguments,"callee").get}():function(){throw new TypeError},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator,s=Object.getPrototypeOf||function(e){return e.__proto__},a=r?s(r):void 0,c=u?s(u):void 0,f=u?u():void 0,l="undefined"==typeof Uint8Array?void 0:s(Uint8Array),p={"$ %Array%":Array,"$ %ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"$ %ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"$ %ArrayIteratorPrototype%":i?s([][Symbol.iterator]()):void 0,"$ %ArrayPrototype%":Array.prototype,"$ %ArrayProto_entries%":Array.prototype.entries,"$ %ArrayProto_forEach%":Array.prototype.forEach,"$ %ArrayProto_keys%":Array.prototype.keys,"$ %ArrayProto_values%":Array.prototype.values,"$ %AsyncFromSyncIteratorPrototype%":void 0,"$ %AsyncFunction%":void 0,"$ %AsyncFunctionPrototype%":void 0,"$ %AsyncGenerator%":u?s(f):void 0,"$ %AsyncGeneratorFunction%":c,"$ %AsyncGeneratorPrototype%":c?c.prototype:void 0,"$ %AsyncIteratorPrototype%":f&&i&&Symbol.asyncIterator?f[Symbol.asyncIterator]():void 0,"$ %Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"$ %Boolean%":Boolean,"$ %BooleanPrototype%":Boolean.prototype,"$ %DataView%":"undefined"==typeof DataView?void 0:DataView,"$ %DataViewPrototype%":"undefined"==typeof DataView?void 0:DataView.prototype,"$ %Date%":Date,"$ %DatePrototype%":Date.prototype,"$ %decodeURI%":decodeURI,"$ %decodeURIComponent%":decodeURIComponent,"$ %encodeURI%":encodeURI,"$ %encodeURIComponent%":encodeURIComponent,"$ %Error%":Error,"$ %ErrorPrototype%":Error.prototype,"$ %eval%":eval,"$ %EvalError%":EvalError,"$ %EvalErrorPrototype%":EvalError.prototype,"$ %Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"$ %Float32ArrayPrototype%":"undefined"==typeof Float32Array?void 0:Float32Array.prototype,"$ %Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"$ %Float64ArrayPrototype%":"undefined"==typeof Float64Array?void 0:Float64Array.prototype,"$ %Function%":Function,"$ %FunctionPrototype%":Function.prototype,"$ %Generator%":r?s(r()):void 0,"$ %GeneratorFunction%":a,"$ %GeneratorPrototype%":a?a.prototype:void 0,"$ %Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"$ %Int8ArrayPrototype%":"undefined"==typeof Int8Array?void 0:Int8Array.prototype,"$ %Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"$ %Int16ArrayPrototype%":"undefined"==typeof Int16Array?void 0:Int8Array.prototype,"$ %Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"$ %Int32ArrayPrototype%":"undefined"==typeof Int32Array?void 0:Int32Array.prototype,"$ %isFinite%":isFinite,"$ %isNaN%":isNaN,"$ %IteratorPrototype%":i?s(s([][Symbol.iterator]())):void 0,"$ %JSON%":JSON,"$ %JSONParse%":JSON.parse,"$ %Map%":"undefined"==typeof Map?void 0:Map,"$ %MapIteratorPrototype%":"undefined"!=typeof Map&&i?s((new Map)[Symbol.iterator]()):void 0,"$ %MapPrototype%":"undefined"==typeof Map?void 0:Map.prototype,"$ %Math%":Math,"$ %Number%":Number,"$ %NumberPrototype%":Number.prototype,"$ %Object%":Object,"$ %ObjectPrototype%":Object.prototype,"$ %ObjProto_toString%":Object.prototype.toString,"$ %ObjProto_valueOf%":Object.prototype.valueOf,"$ %parseFloat%":parseFloat,"$ %parseInt%":parseInt,"$ %Promise%":"undefined"==typeof Promise?void 0:Promise,"$ %PromisePrototype%":"undefined"==typeof Promise?void 0:Promise.prototype,"$ %PromiseProto_then%":"undefined"==typeof Promise?void 0:Promise.prototype.then,"$ %Promise_all%":"undefined"==typeof Promise?void 0:Promise.all,"$ %Promise_reject%":"undefined"==typeof Promise?void 0:Promise.reject,"$ %Promise_resolve%":"undefined"==typeof Promise?void 0:Promise.resolve,"$ %Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"$ %RangeError%":RangeError,"$ %RangeErrorPrototype%":RangeError.prototype,"$ %ReferenceError%":ReferenceError,"$ %ReferenceErrorPrototype%":ReferenceError.prototype,"$ %Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"$ %RegExp%":RegExp,"$ %RegExpPrototype%":RegExp.prototype,"$ %Set%":"undefined"==typeof Set?void 0:Set,"$ %SetIteratorPrototype%":"undefined"!=typeof Set&&i?s((new Set)[Symbol.iterator]()):void 0,"$ %SetPrototype%":"undefined"==typeof Set?void 0:Set.prototype,"$ %SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"$ %SharedArrayBufferPrototype%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer.prototype,"$ %String%":String,"$ %StringIteratorPrototype%":i?s(""[Symbol.iterator]()):void 0,"$ %StringPrototype%":String.prototype,"$ %Symbol%":i?Symbol:void 0,"$ %SymbolPrototype%":i?Symbol.prototype:void 0,"$ %SyntaxError%":SyntaxError,"$ %SyntaxErrorPrototype%":SyntaxError.prototype,"$ %ThrowTypeError%":o,"$ %TypedArray%":l,"$ %TypedArrayPrototype%":l?l.prototype:void 0,"$ %TypeError%":TypeError,"$ %TypeErrorPrototype%":TypeError.prototype,"$ %Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"$ %Uint8ArrayPrototype%":"undefined"==typeof Uint8Array?void 0:Uint8Array.prototype,"$ %Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"$ %Uint8ClampedArrayPrototype%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray.prototype,"$ %Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"$ %Uint16ArrayPrototype%":"undefined"==typeof Uint16Array?void 0:Uint16Array.prototype,"$ %Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"$ %Uint32ArrayPrototype%":"undefined"==typeof Uint32Array?void 0:Uint32Array.prototype,"$ %URIError%":URIError,"$ %URIErrorPrototype%":URIError.prototype,"$ %WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"$ %WeakMapPrototype%":"undefined"==typeof WeakMap?void 0:WeakMap.prototype,"$ %WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet,"$ %WeakSetPrototype%":"undefined"==typeof WeakSet?void 0:WeakSet.prototype};e.exports=function(e,t){if(arguments.length>1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');var n="$ "+e;if(!(n in p))throw new SyntaxError("intrinsic "+e+" does not exist!");if(void 0===p[n]&&!t)throw new TypeError("intrinsic "+e+" exists, but is not available. Please file an issue!");return p[n]}},function(e,t){e.exports=Number.isNaN||function(e){return e!==e}},function(e,t){var n=Number.isNaN||function(e){return e!==e};e.exports=Number.isFinite||function(e){return"number"==typeof e&&!n(e)&&e!==1/0&&e!==-1/0}},function(e,t,n){var r=n(23),u=r.call(Function.call,Object.prototype.hasOwnProperty),o=Object.assign;e.exports=function(e,t){if(o)return o(e,t);for(var n in t)u(t,n)&&(e[n]=t[n]);return e}},function(e,t){e.exports=function(e){return e>=0?1:-1}},function(e,t){e.exports=function(e,t){var n=e%t;return Math.floor(n>=0?n:n+t)}},function(e,t,n){"use strict";var r=n(65);e.exports=function(){return"function"==typeof Object.entries?Object.entries:r}},function(e,t,n){"use strict";var r=n(25);n.n(r);t.a=Object(r.objectFromQueryString)(window.location.href,["spot-im-disabled","re","version","convertedLauncher","spotimVersion","spotimPrerender"])},function(e,t,n){var r=n(21);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(39),u=Math.min;e.exports=function(e){return e>0?u(r(e),9007199254740991):0}},function(e,t,n){"use strict";(function(e){function n(){var e=!1;if(o){var t=/Version\/(\d*)/.exec(navigator.userAgent);t&&t.length>0&&(e=parseInt(t[1],10))}return e}function r(){if(!e.window)return null;var t=null,n=window.navigator.appVersion,r=window.navigator.userAgent;return-1!==n.indexOf("MSIE")?t=parseFloat(n.split("MSIE")[1]):r.match(/Trident/)&&(t=11),t}Object.defineProperty(t,"__esModule",{value:!0});var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.getSafariVersion=n,t.getIEVersion=r;var o=(t.isChrome="object"===("undefined"==typeof window?"undefined":u(window))&&/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),t.isFirefox="object"===("undefined"==typeof window?"undefined":u(window))&&/firefox/.test(navigator.userAgent.toLowerCase()),t.isSafari="object"===("undefined"==typeof window?"undefined":u(window))&&/Safari/.test(navigator.userAgent)&&/Apple Computer/.test(navigator.vendor))}).call(t,n(13))},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"BRAND":case"WHITE":return u;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.BRAND="BRAND";t.WHITE="WHITE"},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"RTL":return u;case"LTR":return o;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.RTL="rtl",o=t.LTR="ltr";t.RTL_LANGUAGES=["he","ar","fa"]},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"DARK":return u;case"LIGHT":return o;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.DARK="dark",o=t.LIGHT="light"},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"AUTOMATIC":return u;case"PERMANENT":return o;case"ON_CLICK":return i;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.AUTOMATIC="AUTOMATIC",o=t.PERMANENT="PERMANENT",i=t.ON_CLICK="ON_CLICK"},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"LEFT":return u;case"RIGHT":return o;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.LEFT="LEFT",o=t.RIGHT="RIGHT"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var u=function e(){var t=this;r(this,e),this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n})};t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fetchInit=t.parse=void 0;var r=n(175),u=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(91),i=t.parse=function(e){return{spotConfig:(0,o.parseSpotConfig)(e.config),hasBroadcast:e.broadcast_live,newsfeedItemsCount:e.newsfeed.total_items}};t.fetchInit=function(e){return u.default.get("/init/spot/"+e).then(i)}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r0)||1===e.connectTypes.length&&e.connectTypes[0]===m.DISQUS),e.useDisqusLogin=e.connectTypes.length>0&&e.connectTypes.indexOf(m.DISQUS)>-1,e.direction=v.RTL_LANGUAGES.indexOf(e.mainLanguage)>-1?v.RTL:v.LTR,e.hostOptionsBlock){var t=(0,E.parseSpotOptions)(e.hostOptionsBlock);(0,g.deepExtendObject)(e,t)}return Object.keys(e).forEach(function(t){void 0===e[t]&&delete e[t]}),(0,y.filterValidOptions)(e)}function i(e){return e=(0,c.parseSpotConfig)(e),o(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.parseAvatarsTheme=r,t.completeSpotConfigParse=o,t.parseSpotConfig=i;var s=n(57),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(s),c=n(91),f=n(78),l=n(82),p=n(81),d=n(125),h=n(80),y=n(11),m=n(195),v=n(79),E=n(45),g=n(46)},function(e,t,n){"use strict";function r(){return"object"===("undefined"==typeof window?"undefined":o(window))&&!!window.navigator.userAgent.toLocaleLowerCase().match(/(mobile|iemobile|android|webos|iphone|ipad|ipod|blackberry|windows phone)/)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return"object"===("undefined"==typeof window?"undefined":o(window))&&(!!window.navigator.userAgent.toLocaleLowerCase().match(/(mobile|iemobile|android|webos|iphone|ipad|ipod|blackberry|windows phone)/)||e.offsetWidth<=t)}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isMobile=r,t.isMobileView=u;var i=414;t.default=r()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var u=n(200),o=r(u),i=n(209),s=r(i);t.default=function(){function e(e,t){var n=[],r=!0,u=!1,o=void 0;try{for(var i,a=(0,s.default)(e);!(r=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{!r&&a.return&&a.return()}finally{if(u)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,o.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},function(e,t,n){"use strict";var r=n(30),u=n(8),o=n(127),i=n(10),s=n(12),a=n(205),c=n(34),f=n(128),l=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,y,m,v){a(n,t,h);var E,g,A,b=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",C="values"==y,w=!1,O=e.prototype,F=O[l]||O["@@iterator"]||y&&O[y],D=F||b(y),B=y?C?b("entries"):D:void 0,S="Array"==t?O.entries||F:F;if(S&&(A=f(S.call(new e)))!==Object.prototype&&A.next&&(c(A,_,!0),r||"function"==typeof A[l]||i(A,l,d)),C&&F&&"values"!==F.name&&(w=!0,D=function(){return F.call(this)}),r&&!v||!p&&!w&&O[l]||i(O,l,D),s[t]=D,s[_]=d,y)if(E={values:C?D:b("values"),keys:m?D:b("keys"),entries:B},v)for(g in E)g in O||o(O,g,E[g]);else u(u.P+u.F*(p||w),t,E);return E}},function(e,t,n){var r=n(0).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(48),u=n(1)("iterator"),o=n(12);e.exports=n(3).getIteratorMethod=function(e){if(void 0!=e)return e[u]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=null;r=n(216).default,t.a=r},function(e,t,n){"use strict";function r(e){"premaster"===window.__SPOTIM_ENV__?u.spoxyShardEntry.setValue(window.__SPOTIM_ENV__):u.spoxyShardEntry.setValue(o[e])}t.a=r;var u=n(7),o=(n.n(u),{sp_hAStREiw:"1",sp_73Xb1xM5:"1",sp_oSi8qg2j:"1",sp_tMptiRwu:"1",sp_8dKhlFsY:"1",sp_7wNyglLl:"1",sp_8ufsGeQi:"1",sp_HNiosQHl:"1",sp_0Y0Tjsxl:"1",sp_kA65CpOD:"1",sp_oHhGytg0:"1",sp_KgGEdqy2:"1",sp_SaHzp1lv:"1",sp_BF34oPbr:"1",sp_68A3SUfn:"1",sp_3n2BykZs:"1",sp_trFVwXnw:"1",sp_eFk0GB48:"1",sp_wqPYg8lN:"1",sp_MtyWBomM:"2",sp_zVwxklo1:"2",sp_DctlRXvy:"2",sp_D7GE1sbz:"2",sp_dBhcW569:"2",sp_lYsvk9ez:"2",sp_GQiygSfv:"2",sp_cf7oqt3p:"2",sp_PCFIUjO6:"2",sp_AD61sGTm:"2",sp_mUYb9is0:"2",sp_IhEeD2MZ:"2",sp_8JShDfYl:"2",sp_pI2ijZdp:"2",sp_hR32LBKJ:"2",sp_gz8NbFPq:"2",sp_ob02sKNS:"2",sp_WmLaNfRa:"2",sp_wiVJ9MyD:"2",sp_48m2NoJd:"2",sp_M1cLJKJe:"2",sp_7xvt2Jcw:"2",sp_O7EOhzFi:"2",sp_vtFdz6GZ:"2",sp_oUi4Rvfq:"2",sp_jQk9Ix5C:"2",sp_7xVAzh4B:"2",sp_YXVe5CFq:"2",sp_Molio3e3:"2",sp_XTbbrMU3:"2",sp_8Qmi7K65:"2",sp_3qDh7VXS:"2",sp_Xie6u79G:"2",sp_ewEprE0h:"2",sp_HWGOv0HE:"2",sp_2K213YWt:"2",sp_CqkSJvbI:"2",sp_8zqThxdV:"2",sp_Z3ieP5nt:"2",sp_hsYe0HhP:"2",sp_aaKJPfbx:"2",sp_QgwMYISL:"2",sp_NSZ0B3W1:"2",sp_gY62Lksk:"2",sp_Ykx8XTi1:"2",sp_1saykBRP:"2",sp_dVfRRiB7:"2",sp_NhjLiBvm:"2",sp_amADK71w:"2",sp_XoNtGjxG:"2",sp_2UiL4VRA:"2",sp_O6iuKb8T:"2",sp_YJab24ux:"2",sp_Iim49jSq:"2",sp_MGB56TUs:"2",sp_Omv2VEvx:"2",sp_TxjVzVFt:"2",sp_pjfPuVpw:"2",sp_SjO8NU5m:"2",sp_GcGLnq1Z:"2",sp_cZ0fPpGg:"2",sp_KioaPfOh:"2",sp_4vjDPNvo:"2",sp_hb1QYHCy:"2",sp_WfYqM5gf:"2",sp_dRbqB7uD:"2",sp_N6kQOMkX:"2",sp_6Sbuib4m:"2",sp_b4kyzsna:"2",sp_EGlc89GT:"2",sp_9T3olI8c:"2",sp_KVd4WXMD:"2",sp_cFyMERzX:"2",sp_6v0UE3U2:"2",sp_4GrOeURq:"2",sp_8fEcef4U:"2",sp_DlWl8kvf:"2",sp_HfV0hKy9:"2",sp_xW15SN5O:"2",sp_LvY5KFZV:"2",sp_6vZa6MCa:"2",sp_lshnd8K3:"2",sp_18MFBgjK:"2",sp_b3BDxGSu:"2",sp_RTMRhhxs:"2",sp_1ZoW8Kgi:"2",sp_qaNXmDxI:"2",sp_Ydes4tGw:"2",sp_7iuIrX1C:"2",sp_3n9muvUT:"2",sp_36aerDOh:"2",sp_X9ywIwJk:"2",sp_T2regi66:"2",sp_26uV0TWa:"2",sp_GtBhXPdK:"2",sp_BwyUiDBa:"2",sp_27D5CutJ:"2",sp_faHCuJ0U:"2",sp_YLuA7gSu:"2",sp_DqbEkujL:"2",sp_AfKRsCR9:"2",sp_pm5OEdGu:"2",sp_1Od5Si0h:"2",sp_t9tFUo1E:"2",sp_z7551jqc:"2",sp_IO4cyhii:"2",sp_lM9nolaz:"2",sp_AdWlD43t:"2",sp_wT5DaZhP:"2",sp_bIto5aZV:"2",sp_XxwtgzJu:"2",sp_1Uu7q9Ag:"2",sp_OXIyOcxT:"2",sp_ukF56M73:"2",sp_4SJEOR9T:"2",sp_xr2CewXv:"2",sp_jx9gkzfw:"2",sp_wKJzUUzq:"2",sp_cv3lwfj3:"2",sp_huI1s5Fe:"2",sp_EB50S2mq:"2",sp_8BE2orzs:"2",sp_15Z1KiNX:"2",sp_NaErQpDo:"2",sp_slqim6YW:"2",sp_UG6h39S6:"2",sp_P91k7GOs:"2",sp_IcdySnvn:"2",sp_7o6Baeje:"2",sp_Vb8HYhl6:"3",sp_f76RE06N:"3",sp_K1uZhoSA:"3",sp_tt1rRxhU:"3",sp_0mhg4kxD:"3",sp_bc9nnuas:"3",sp_ChtLPOxW:"3",sp_wyVfwgeX:"3",sp_YAI3K1BD:"3",sp_d0oLykNf:"3",sp_ZEshKf1L:"3",sp_ornRLv6K:"3",sp_0ZJwyI8l:"3",sp_cfiP5HzG:"3",sp_8qxEpddu:"3",sp_5hPrGGOP:"3",sp_td2mGjAB:"3",sp_TQ0fb8XY:"3",sp_BOYlZOzX:"3",sp_IjnMf2Jd:"3",sp_6YIlL3Df:"3",sp_LxpkTDcG:"3",sp_Qf5Kf2mr:"3",sp_de3Yxtpp:"3",sp_DG7E5a6R:"3",sp_n2TBPlF8:"4",sp_VtOqrkQ8:"4",sp_hTxyQLbg:"4",sp_JjtET6Vo:"4",sp_P9LrNuZn:"4",sp_KQ9w41Dd:"4",sp_Z8INv4eK:"4",sp_VvqBUPJY:"4",sp_ANQXRpqH:"4",sp_7D6dzO0w:"4",sp_i5G8YCRG:"4",sp_3b3FGRQ1:"4",sp_Fypk8IMY:"4",sp_YFYx1rwz:"4",sp_OBpaP56R:"4",sp_bZ3F29VR:"4",sp_8TLFqmLV:"5",sp_A3SnHcgH:"5",sp_ZwMqGXOu:"5",sp_1xRecNST:"5",sp_sbJbR9zO:"5",sp_XByh4fod:"5",sp_NNvA5Ksj:"5",sp_elj4Klyl:"5",sp_yZlmuqld:"5",sp_fElq9fi5:"5",sp_6phY2k0C:"5",sp_dbj1rz5F:"5",sp_KSXfiyDR:"5",sp_5GvFYnPr:"5",sp_5RtvfzkM:"5",sp_P9u1au5B:"5",sp_F3fv1KVZ:"5",sp_jtPTu9MP:"5",sp_X4PwQS2c:"5",sp_p5W1k5Wx:"5",sp_od3CTe4a:"5",sp_G2o0OB7c:"5",sp_9LMINbK9:"5",sp_SBPubB1j:"6",sp_TwBOz057:"6",sp_5M8HXZS1:"6",sp_WFHCIKOY:"6",sp_T65sF7CX:"6",sp_c5L562c8:"6",sp_Vymse3UC:"6",sp_gaciO5EJ:"6",sp_3P3APk4Z:"6",sp_4ewRAhU5:"6",sp_AWeA9jEO:"6",sp_xDTUbYWI:"6",sp_R4uZNqtA:"6",sp_IrrXyhfD:"6",sp_b1FcPUzy:"6",sp_R2qWX9V1:"6",sp_zNoOLyot:"6",sp_qhNpMukH:"6",sp_L8Xi3Uzv:"6",sp_qdUlprBb:"6",sp_FP3AtjPU:"6",sp_CpkXBYYv:"6",sp_xR4KC8Vo:"6",sp_yT2ffIXL:"6",sp_Mg58EUaO:"6",sp_XoQ0t8bS:"6",sp_NubMJIIU:"6",sp_cppur4wO:"6",sp_yQJ0IRhb:"6",sp_J1W72lxZ:"6",sp_ekXntyLk:"6",sp_v0xu5oCZ:"6",sp_8lO2c91e:"6",sp_sJMa8VBM:"6",sp_4wiiImwx:"6",sp_C6rOxoF6:"6",sp_fGGCea9F:"6",sp_yhuNbXOh:"6",sp_QKKE0vl2:"6",sp_YRUF6DPr:"6",sp_0xpjnq0B:"6",sp_LQqoi1VA:"6",sp_9W7bDUIH:"6",sp_DzWAHE1J:"6",sp_gTCGHEO6:"6",sp_UpKlIWxB:"6",sp_vo3UeAlz:"6",sp_9w567MTm:"6",sp_VhQqtCrg:"6",sp_GLofycXN:"6",sp_I8yi7jUG:"6",sp_il7UqxEW:"6",sp_lRsHBWfF:"6",sp_RSlrNSa8:"6",sp_ogPuwIyZ:"6",sp_mu1fQs3v:"6",sp_TKJdc1UQ:"6",sp_ljgdZr6F:"6",sp_WwZEiXZW:"6"})},function(e,t,n){"use strict";function r(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function u(){var e=r;return e()+e()+e()+e()+e()+e()+e()+e()}Object.defineProperty(t,"__esModule",{value:!0}),t.shortGuid=r,t.guid=u,t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeKey=t.safeGetObject=t.SET_AUTO_FOLLOW=t.CURRENT_USER_STORAGE_KEY=void 0;var r=n(226),u=function(e){return e&&e.__esModule?e:{default:e}}(r);u.default.prefix="SPOTIM_";t.CURRENT_USER_STORAGE_KEY="CURRENT_USER",t.SET_AUTO_FOLLOW="SET_AUTO_FOLLOW",t.safeGetObject=function(){return u.default.get.apply(u.default,arguments)||{}},t.removeKey=function(e){return localStorage.removeItem("SPOTIM_"+e)};t.default=u.default},function(e,t,n){"use strict";function r(e,t){(0,o.default)(document,"AnimationStart",function(n){if(e===n.animationName){var r=n.target;t(r,n)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.onAnimationStart=r;var u=n(231),o=function(e){return e&&e.__esModule?e:{default:e}}(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.tracker=t.topic=t.socialConnect=t.recommendations=t.rank=t.publicUser=t.openApi=t.notifications=t.newsfeedSync=t.moderation=t.me=t.importConversations=t.general=t.findUser=t.extract=t.emailConnect=t.conversationRead=t.analyticsRead=void 0;var u=n(235),o=r(u),i=n(243),s=r(i),a=new o.default(s.default.analyticsRead.cdn),c=new o.default(s.default.conversationRead.cdn),f=new o.default(s.default.emailConnect.cdn),l=new o.default(s.default.extract.cdn),p=new o.default(s.default.findUser.cdn),d=new o.default(s.default.general.cdn),h=new o.default(s.default.importConversations.cdn),y=new o.default(s.default.me.cdn),m=new o.default(s.default.moderation.cdn),v=new o.default(s.default.newsfeedSync.cdn),E=new o.default(s.default.notifications.cdn),g=new o.default(s.default.openApi.cdn),A=new o.default(s.default.publicUser.cdn),b=new o.default(s.default.rank.cdn),_=new o.default(s.default.recommendations.cdn),C=new o.default(s.default.socialConnect.cdn),w=new o.default(s.default.tracker.cdn),O=new o.default(s.default.topic.cdn);t.analyticsRead=a,t.conversationRead=c,t.emailConnect=f,t.extract=l,t.findUser=p,t.general=d,t.importConversations=h,t.me=y,t.moderation=m,t.newsfeedSync=v,t.notifications=E,t.openApi=g,t.publicUser=A,t.rank=b,t.recommendations=_,t.socialConnect=C,t.topic=O,t.tracker=w},function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}e.exports=r},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"withCredentials"in t&&(e.withCredentials=t.withCredentials),"jsonp"in t&&(e.jsonp=t.jsonp),"success"in t&&(e.success=t.success),"error"in t&&(e.error=t.error),"requestInterceptors"in t&&Array.isArray(t.requestInterceptors)&&(e.requestInterceptors=[].concat(r(e.requestInterceptors||[]),r(t.requestInterceptors))),"responseInterceptors"in t&&Array.isArray(t.responseInterceptors)&&(e.responseInterceptors=[].concat(r(e.responseInterceptors||[]),r(t.responseInterceptors)))}Object.defineProperty(t,"__esModule",{value:!0}),t.setDefaultOptions=u,t.extendOptions=o;var i={withCredentials:!0,requestInterceptors:[],responseInterceptors:[],jsonp:!1,success:function(){},error:function(){}};t.default=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n3&&void 0!==arguments[3]?arguments[3]:{};r(this,e),this.service=t,this.method=n,this.url=u,this.options=o}return u(e,[{key:"extendOptions",value:function(e){(0,o.extendOptions)(this.options,e)}},{key:"getUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.url.replace(i,function(t,n){return e.hasOwnProperty(n)?encodeURIComponent(e[n]):t})}},{key:"getFullUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.service.apiUrl+this.getUrl(e)}},{key:"execute",value:function(e,t){var n,r=this.service,u=this.getUrl(t);switch(this.method){case"get":n=r.get(u,e,this.options);break;case"delete":n=r.delete(u,this.options);break;case"patch":n=r.patch(u,e,this.options);break;case"post":n=r.post(u,e,this.options);break;case"put":n=r.put(u,e,this.options)}return n}}]),e}();t.default=s},function(e,t,n){"use strict";n.d(t,"a",function(){return d});var r=n(94),u=n.n(r),o=n(36),i=(n.n(o),n(108)),s=(n.n(i),n(131)),a=(n.n(s),n(41)),c=(n.n(a),!1),f=void 0,l=function(e){n.e(0).then(n.bind(null,330)).then(function(t){(0,t.renderer)(e)})},p=function(){return new Promise(function(e){var t=document.querySelectorAll('[data-spotim-module="community-promo"]:not([data-ready="true"])');Array.prototype.forEach.call(t,function(t){c||(o.tracker.track("detected",{item_type:"community-promo"}),c=!0,Object(a.onWindowLoad)(function(){Object(s.getWidgetData)(t.getAttribute("data-spot-id"),{postId:t.getAttribute("data-post-id"),articleTags:t.getAttribute("data-article-tags"),hostUrl:t.getAttribute("data-host-url")||location.href}).then(function(t){return t.topic?(o.tracker.setCommonParams({topic_name:t.topic.name,topic_handle:t.topic.handle,topic_id:t.topic.id}),e(t)):e()})}));var n=new IntersectionObserver(function(e){u()(e,1)[0].isIntersecting&&(l(t),n.unobserve(t))},{rootMargin:"800px"});n.observe(t)})})},d=function(){return Object(i.detectDomNodeInserted)('[data-spotim-module="community-promo"]:not([data-ready="true"])',"community-promo",p),f||(f=p()),f}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.detectModuleInserted=t.getModuleSelector=t.detectDomNodeInserted=void 0;var r=n(102),u=t.detectDomNodeInserted=function(e,t,n){var u="\n @keyframes "+t+" {\n from {\n outline-color: #fff;\n }\n to {\n outline-color: #000;\n }\n }\n "+e+" {\n animation-duration: 10ms;\n animation-name: "+t+";\n }\n ";(0,r.onAnimationStart)(t,n);var o=document.createElement("style");o.innerHTML=u,document.head.appendChild(o)},o=t.getModuleSelector=function(e){return'[data-spotim-module="'+e+'"]:not([data-ready="true"])'};t.detectModuleInserted=function(e,t){var n=o(e);u(n,e,t)}},function(e,t,n){var r=n(6),u=n(4);e.exports=function(e,t,n){var o=u(e,t);return n||(o=o.replace(/ (?=\d)/g,"_")),o.replace(/ (.)/g,function(e,n){return r(n,t)})}},function(e,t,n){var r=n(4);e.exports=function(e,t){return r(e,t,"_")}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.denormalize=t.normalize=t.schema=void 0;var o=Object.assign||function(e){for(var t=1;tn;)t.push(arguments[n++]);return v[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete v[e]},"process"==n(21)(l)?r=function(e){l.nextTick(i(E,e,1))}:y&&y.now?r=function(e){y.now(i(E,e,1))}:h?(u=new h,o=u.port2,u.port1.onmessage=g,r=i(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(e){f.postMessage(e+"","*")},f.addEventListener("message",g,!1)):r="onreadystatechange"in c("script")?function(e){a.appendChild(c("script")).onreadystatechange=function(){a.removeChild(this),E.call(e)}}:function(e){setTimeout(i(E,e,1),0)}),e.exports={set:p,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(5),u=n(15),o=n(53);e.exports=function(e,t){if(r(e),u(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.Themes={DEFAULT:"default",TOL:"tol"},u=t.getTheme=function(e){if(!e)return r.DEFAULT;var t="string"==typeof e?e:e.moduleOptions.spotId||e.moduleOptions.spotConfig.spotId;return"sp_iQ9uXDsX"===t||"sp_nNNHCgsN"===t||"sp_pCQgrRiN"===t||"sp_sZl4kdDA"===t||"sp_HgoPVEje"===t||"sp_Hmnwda3Z"===t||"sp_hTdJATT5"===t||"sp_ci83vMEV"===t?r.TOL:r.DEFAULT};t.isTOL=function(e){return u(e)===r.TOL}},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,u;if(t&&"function"==typeof(n=e.toString)&&!r(u=n.call(e)))return u;if("function"==typeof(n=e.valueOf)&&!r(u=n.call(e)))return u;if(!t&&"function"==typeof(n=e.toString)&&!r(u=n.call(e)))return u;throw TypeError("Can't convert object to primitive value")}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/* object-assign (c) Sindre Sorhus @license MIT */ var u=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,a=r(e),c=1;cdocument.F=Object<\/script>"),e.close(),a=e.F;r--;)delete a.prototype[o[r]];return a()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[i]=e):n=a(),void 0===t?n:u(n,t)}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(163),u=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=u.default||function(e){for(var t=1;ta;)r(s,n=t[a++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"BEST":return u;case"NEWEST":return o;case"OLDEST":return i;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r;var u=t.BEST="best",o=t.NEWEST="newest",i=t.OLDEST="oldest"},function(e,t,n){"use strict";function r(e){var t=Object.keys(o).reduce(function(t,n){var r=e.getAttribute(n);if(r){var u=o[n];switch(r){case"true":r=!0;break;case"false":r=!1}t[u]=r}return t},{});return(0,u.filterValidOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedAttributesMap=void 0,t.getElementOptions=r;var u=n(11),o=t.supportedAttributesMap={"data-spot-id":"spotId","data-post-id":"postId","data-sterile-conversation":"isSterileConversation","data-ios-url":"iosUrl","data-android-url":"androidUrl","data-conversation-id":"conversationId","data-disqus-identifier":"disqusIdentifier","data-disqus-url":"disqusUrl","data-gigya-streamid":"gigyaStreamId","data-gigya-categoryid":"gigyaCategoryId","data-wp-import-endpoint":"wpImportEndpoint","data-facebook-url":"facebookUrl","data-livefyre-url":"livefyreUrl","data-messages-count":"pageSize","data-sort-by":"conversationSort","data-post-url":"postUrl","data-load-more-in-modal":"loadMoreInModal","data-social-reviews":"isStarsRatingEnabled","data-live-blog":"isConversationLiveBlog","data-enable-live-blog-replies":"enableLiveBlogReplies","data-live-event-code":"eventCode","data-reporters":"reporters","data-reporter-badge-text":"reporterBadgeText","data-enable-anonymize":"enableAnonymize","data-refer-traffic":"referTraffic","data-disable-navigation":"disableNavigation","data-community-question":"conversationCommunityQuestion","data-author-id":"conversationAuthorId","data-article-tags":"conversationArticleTags","data-widget-type":"widgetType","data-seo-enabled":"conversationSeoEnabled","data-ignore-host-url":"ignoreHostUrl","data-allow-va":"allowVA","data-recommendable-post":"isRecommendedPost","data-collapse-message":"enableSeeMoreButton"}},function(e,t,n){e.exports=n(10)},function(e,t,n){var r=n(18),u=n(60),o=n(40)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=u(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function a(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function f(e,t){var n,r,u;if(t.singleton){var o=E++;n=v||(v=s(t)),r=l.bind(null,n,o,!1),u=l.bind(null,n,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(t),r=d.bind(null,n,t),u=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),u=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else u()}}function l(e,t,n,r){var u=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,u);else{var o=document.createTextNode(u),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t,n){var r=n.css,u=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&u;(t.convertToAbsoluteUrls||o)&&(r=A(r)),u&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(u))))+" */");var i=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(i),s&&URL.revokeObjectURL(s)}var h={},y=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),v=null,E=0,g=[],A=n(253);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},void 0===t.singleton&&(t.singleton=y()),void 0===t.insertInto&&(t.insertInto="head"),void 0===t.insertAt&&(t.insertAt="bottom");var n=u(e);return r(n,t),function(e){for(var o=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:{};return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!y){e.next=2;break}return e.abrupt("return",Promise.resolve(y));case 2:return E.hostUrl=E.hostUrl||p.default.getCanonicalHref()||p.default.getLocationHref(),e.next=5,(0,d.getTopicPromo)(t,E);case 5:if(n=e.sent,n.topic_id){e.next=8;break}return e.abrupt("return",n);case 8:return r=n.users,u=n.topics,o=(0,f.camel)(n),c={topic:{topicId:o.topicId,suggestedTopicsIds:o.suggestedTopicsIds},entities:{users:r,topics:u}},l=h(c,o.typingUsersIds).map(s.createUserObject),m=(0,a.getRelatedTopics)(c).filter(function(e){return void 0!==e}),v=(0,a.getTopic)(c,o),y={users:l,relatedTopics:m,topic:v},e.abrupt("return",y);case 16:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.userId,n=e.id,u=r(e,["userId","id"]),o=n||t;return p({id:o,userId:o,displayName:void 0,imageId:void 0,points:0,commentsCount:0,upVotesCount:0,upVotesReceivedCount:0,username:void 0,isOnline:!1,isModerator:!1,language:void 0,location:void 0,workplace:void 0,interests:[],coverImageId:void 0,isRegistered:!1,isAnonymized:!1,isPrivate:!1,isSuperAdmin:!1,isWhiteListed:void 0},u)}function o(e){var t=e.displayName,n=e.username;return t||n}function i(e,t){var n=p({crop:"thumb",gravity:"face",height:24,width:24},t);return h.cloudinary.url(e.imageId,n)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.coverImageId){var n=p({crop:"fill",height:84,width:270},t);return h.cloudinary.url(e.coverImageId,n)}}function a(e){return"@"+e.username}function c(e){return!0===e.isAnonymized}function f(e,t){return t?d.REPORTER:e.isModerator?d.MODERATOR:e.isJournalist?d.JOURNALIST:(0,d.getBadge)(e.points)}function l(e,t){return e.id===t.id}Object.defineProperty(t,"__esModule",{value:!0});var p=Object.assign||function(e){for(var t=1;t=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(141),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(13))},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n0&&!r.call(e,0))for(var d=0;d0)for(var y=0;y=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t){var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString;e.exports=function(e,t,u){if("[object Function]"!==r.call(t))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var i=0;i2?arguments[2]:[];if(!this.IsCallable(e))throw new i(e+" is not a function");return e.apply(t,n)},ToPrimitive:u,ToNumber:function(e){var t=b(e)?e:u(e,l);if("symbol"==typeof t)throw new i("Cannot convert a Symbol value to a number");if("string"==typeof t){if(F(t))return this.ToNumber(_(O(t,2),2));if(D(t))return this.ToNumber(_(O(t,2),8));if(x(t)||I(t))return NaN;var n=H(t);if(n!==t)return this.ToNumber(n)}return l(t)},ToInt16:function(e){var t=this.ToUint16(e);return t>=32768?t-65536:t},ToInt8:function(e){var t=this.ToUint8(e);return t>=128?t-256:t},ToUint8:function(e){var t=this.ToNumber(e);if(y(t)||0===t||!m(t))return 0;var n=g(t)*k(M(t));return A(n,256)},ToUint8Clamp:function(e){var t=this.ToNumber(e);if(y(t)||t<=0)return 0;if(t>=255)return 255;var n=k(e);return n+.5v?v:t},CanonicalNumericIndexString:function(e){if("[object String]"!==R(e))throw new i("must be a string");if("-0"===e)return-0;var t=this.ToNumber(e);return this.SameValue(this.ToString(t),e)?t:void 0},RequireObjectCoercible:q.CheckObjectCoercible,IsArray:a.isArray||function(e){return"[object Array]"===R(e)},IsConstructor:function(e){return"function"==typeof e&&!!e.prototype},IsExtensible:Object.preventExtensions?function(e){return!b(e)&&U(e)}:function(e){return!0},IsInteger:function(e){if("number"!=typeof e||y(e)||!m(e))return!1;var t=M(e);return k(t)===t},IsPropertyKey:function(e){return"string"==typeof e||"symbol"==typeof e},IsRegExp:function(e){if(!e||"object"!=typeof e)return!1;if(h){var t=e[p.match];if(void 0!==t)return q.ToBoolean(t)}return z(e)},SameValueZero:function(e,t){return e===t||y(e)&&y(t)},GetV:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return this.ToObject(e)[t]},GetMethod:function(e,t){if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var n=this.GetV(e,t);if(null!=n){if(!this.IsCallable(n))throw new i(t+"is not a function");return n}},Get:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");return e[t]},Type:function(e){return"symbol"==typeof e?"Symbol":q.Type(e)},SpeciesConstructor:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");var n=e.constructor;if(void 0===n)return t;if("Object"!==this.Type(n))throw new i("O.constructor is not an Object");var r=h&&p.species?n[p.species]:void 0;if(null==r)return t;if(this.IsConstructor(r))return r;throw new i("no constructor found")},CompletePropertyDescriptor:function(e){if(!this.IsPropertyDescriptor(e))throw new i("Desc must be a Property Descriptor");return this.IsGenericDescriptor(e)||this.IsDataDescriptor(e)?(r(e,"[[Value]]")||(e["[[Value]]"]=void 0),r(e,"[[Writable]]")||(e["[[Writable]]"]=!1)):(r(e,"[[Get]]")||(e["[[Get]]"]=void 0),r(e,"[[Set]]")||(e["[[Set]]"]=void 0)),r(e,"[[Enumerable]]")||(e["[[Enumerable]]"]=!1),r(e,"[[Configurable]]")||(e["[[Configurable]]"]=!1),e},Set:function(e,t,n,r){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");if("Boolean"!==this.Type(r))throw new i("Throw must be a Boolean");if(r)return e[t]=n,!0;try{e[t]=n}catch(e){return!1}},HasOwnProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return r(e,t)},HasProperty:function(e,t){if("Object"!==this.Type(e))throw new i("O must be an Object");if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");return t in e},IsConcatSpreadable:function(e){if("Object"!==this.Type(e))return!1;if(h&&"symbol"==typeof p.isConcatSpreadable){var t=this.Get(e,Symbol.isConcatSpreadable);if(void 0!==t)return this.ToBoolean(t)}return this.IsArray(e)},Invoke:function(e,t){if(!this.IsPropertyKey(t))throw new i("P must be a Property Key");var n=w(arguments,2),r=this.GetV(e,t);return this.Call(r,e,n)},GetIterator:function(e,t){if(!h)throw new SyntaxError("ES.GetIterator depends on native iterator support.");var n=t;arguments.length<2&&(n=this.GetMethod(e,p.iterator));var r=this.Call(n,e);if("Object"!==this.Type(r))throw new i("iterator must return an object");return r},IteratorNext:function(e,t){var n=this.Invoke(e,"next",arguments.length<2?[]:[t]);if("Object"!==this.Type(n))throw new i("iterator next must return an object");return n},IteratorComplete:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.ToBoolean(this.Get(e,"done"))},IteratorValue:function(e){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterResult) is not Object");return this.Get(e,"value")},IteratorStep:function(e){var t=this.IteratorNext(e);return!0!==this.IteratorComplete(t)&&t},IteratorClose:function(e,t){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(iterator) is not Object");if(!this.IsCallable(t))throw new i("Assertion failed: completion is not a thunk for a Completion Record");var n=t,r=this.GetMethod(e,"return");if(void 0===r)return n();var u;try{var o=this.Call(r,e,[])}catch(e){throw u=n(),n=null,e}if(u=n(),n=null,"Object"!==this.Type(o))throw new i("iterator .return must return an object");return u},CreateIterResultObject:function(e,t){if("Boolean"!==this.Type(t))throw new i("Assertion failed: Type(done) is not Boolean");return{value:e,done:t}},RegExpExec:function(e,t){if("Object"!==this.Type(e))throw new i("R must be an Object");if("String"!==this.Type(t))throw new i("S must be a String");var n=this.Get(e,"exec");if(this.IsCallable(n)){var r=this.Call(n,e,[t]);if(null===r||"Object"===this.Type(r))return r;throw new i('"exec" method must return `null` or an Object')}return B(e,t)},ArraySpeciesCreate:function(e,t){if(!this.IsInteger(t)||t<0)throw new i("Assertion failed: length must be an integer >= 0");var n,r=0===t?0:t;if(this.IsArray(e)&&(n=this.Get(e,"constructor"),"Object"===this.Type(n)&&h&&p.species&&null===(n=this.Get(n,p.species))&&(n=void 0)),void 0===n)return a(r);if(!this.IsConstructor(n))throw new i("C must be a constructor");return new n(r)},CreateDataProperty:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var r=N(e,t),u=r||"function"!=typeof U||U(e);if(r&&(!r.writable||!r.configurable)||!u)return!1;var o={configurable:!0,enumerable:!0,value:n,writable:!0};return Object.defineProperty(e,t,o),!0},CreateDataPropertyOrThrow:function(e,t,n){if("Object"!==this.Type(e))throw new i("Assertion failed: Type(O) is not Object");if(!this.IsPropertyKey(t))throw new i("Assertion failed: IsPropertyKey(P) is not true");var r=this.CreateDataProperty(e,t,n);if(!r)throw new i("unable to create data property");return r},ObjectCreate:function(e,t){if(null!==e&&"Object"!==this.Type(e))throw new i("Assertion failed: proto must be null or an object");if((arguments.length<2?[]:t).length>0)throw new s("es-abstract does not yet support internal slots");if(null===e&&!L)throw new s("native Object.create support is required to create null objects");return L(e)},AdvanceStringIndex:function(e,t,n){if("String"!==this.Type(e))throw new i("S must be a String");if(!this.IsInteger(t)||t<0||t>v)throw new i("Assertion failed: length must be an integer >= 0 and <= 2**53");if("Boolean"!==this.Type(n))throw new i("Assertion failed: unicode must be a Boolean");if(!n)return t+1;if(t+1>=e.length)return t+1;var r=P(e,t);if(r<55296||r>56319)return t+1;var u=P(e,t+1);return u<56320||u>57343?t+1:t+2}});delete K.CheckObjectCoercible,e.exports=K},function(e,t,n){"use strict";var r=Array.prototype.slice,u=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==u.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,o=r.call(arguments,1),i=function(){if(this instanceof n){var u=t.apply(this,o.concat(r.call(arguments)));return Object(u)===u?u:this}return t.apply(e,o.concat(r.call(arguments)))},s=Math.max(0,t.length-o.length),a=[],c=0;c1&&(t===String?n="string":t===Number&&(n="number"));var o;if(r&&(Symbol.toPrimitive?o=c(e,Symbol.toPrimitive):s(e)&&(o=Symbol.prototype.valueOf)),void 0!==o){var f=o.call(e,n);if(u(f))return f;throw new TypeError("unable to convert exotic object to primitive")}return"default"===n&&(i(e)||s(e))&&(n="string"),a(e,"default"===n?"number":n)}},function(e,t,n){"use strict";var r=Date.prototype.getDay,u=function(e){try{return r.call(e),!0}catch(e){return!1}},o=Object.prototype.toString,i="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(i?u(e):"[object Date]"===o.call(e))}},function(e,t,n){"use strict";var r=Object.prototype.toString;if("function"==typeof Symbol&&"symbol"==typeof Symbol()){var u=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(e){return"symbol"==typeof e.valueOf()&&o.test(u.call(e))};e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return i(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},function(e,t){e.exports=function(e){return null===e||"function"!=typeof e&&"object"!=typeof e}},function(e,t,n){"use strict";var r=n(67),u=r("%Object%"),o=r("%TypeError%"),i=r("%String%"),s=n(68),a=n(69),c=n(71),f=n(72),l=n(24),p=n(156),d=n(22),h={ToPrimitive:p,ToBoolean:function(e){return!!e},ToNumber:function(e){return+e},ToInteger:function(e){var t=this.ToNumber(e);return s(t)?0:0!==t&&a(t)?c(t)*Math.floor(Math.abs(t)):t},ToInt32:function(e){return this.ToNumber(e)>>0},ToUint32:function(e){return this.ToNumber(e)>>>0},ToUint16:function(e){var t=this.ToNumber(e);if(s(t)||0===t||!a(t))return 0;var n=c(t)*Math.floor(Math.abs(t));return f(n,65536)},ToString:function(e){return i(e)},ToObject:function(e){return this.CheckObjectCoercible(e),u(e)},CheckObjectCoercible:function(e,t){if(null==e)throw new o(t||"Cannot call method on "+e);return e},IsCallable:l,SameValue:function(e,t){return e===t?0!==e||1/e==1/t:s(e)&&s(t)},Type:function(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":void 0},IsPropertyDescriptor:function(e){if("Object"!==this.Type(e))return!1;var t={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};for(var n in e)if(d(e,n)&&!t[n])return!1;var r=d(e,"[[Value]]"),u=d(e,"[[Get]]")||d(e,"[[Set]]");if(r&&u)throw new o("Property Descriptors may not be both accessor and data descriptors");return!0},IsAccessorDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new o("Desc must be a Property Descriptor");return!(!d(e,"[[Get]]")&&!d(e,"[[Set]]"))},IsDataDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new o("Desc must be a Property Descriptor");return!(!d(e,"[[Value]]")&&!d(e,"[[Writable]]"))},IsGenericDescriptor:function(e){if(void 0===e)return!1;if(!this.IsPropertyDescriptor(e))throw new o("Desc must be a Property Descriptor");return!this.IsAccessorDescriptor(e)&&!this.IsDataDescriptor(e)},FromPropertyDescriptor:function(e){if(void 0===e)return e;if(!this.IsPropertyDescriptor(e))throw new o("Desc must be a Property Descriptor");if(this.IsDataDescriptor(e))return{value:e["[[Value]]"],writable:!!e["[[Writable]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};if(this.IsAccessorDescriptor(e))return{get:e["[[Get]]"],set:e["[[Set]]"],enumerable:!!e["[[Enumerable]]"],configurable:!!e["[[Configurable]]"]};throw new o("FromPropertyDescriptor must be called with a fully populated Property Descriptor")},ToPropertyDescriptor:function(e){if("Object"!==this.Type(e))throw new o("ToPropertyDescriptor requires an object");var t={};if(d(e,"enumerable")&&(t["[[Enumerable]]"]=this.ToBoolean(e.enumerable)),d(e,"configurable")&&(t["[[Configurable]]"]=this.ToBoolean(e.configurable)),d(e,"value")&&(t["[[Value]]"]=e.value),d(e,"writable")&&(t["[[Writable]]"]=this.ToBoolean(e.writable)),d(e,"get")){var n=e.get;if(void 0!==n&&!this.IsCallable(n))throw new TypeError("getter must be a function");t["[[Get]]"]=n}if(d(e,"set")){var r=e.set;if(void 0!==r&&!this.IsCallable(r))throw new o("setter must be a function");t["[[Set]]"]=r}if((d(t,"[[Get]]")||d(t,"[[Set]]"))&&(d(t,"[[Value]]")||d(t,"[[Writable]]")))throw new o("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}};e.exports=h},function(e,t,n){"use strict";var r=Object.prototype.toString,u=n(66),o=n(24),i={"[[DefaultValue]]":function(e,t){var n=t||("[object Date]"===r.call(e)?String:Number);if(n===String||n===Number){var i,s,a=n===String?["toString","valueOf"]:["valueOf","toString"];for(s=0;s=0&&s>=0&&{top:n,bottom:r,left:u,right:o,width:i,height:s}}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):f()}function f(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e,t){for(var n=t;n;){if(n==e)return!0;n=p(n)}return!1}function p(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t}if("IntersectionObserver"in e&&"IntersectionObserverEntry"in e&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)return void("isIntersecting"in e.IntersectionObserverEntry.prototype||Object.defineProperty(e.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}));var d=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},r.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},r.prototype._parseRootMargin=function(e){var t=e||"0px",n=t.split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return n[1]=n[1]||n[0],n[2]=n[2]||n[0],n[3]=n[3]||n[1],n},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(e,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(e,"resize",this._checkForIntersections,!0),s(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),t=e?this._getRootRect():f();this._observationTargets.forEach(function(r){var o=r.element,i=c(o),s=this._rootContainsTarget(o),a=r.entry,f=e&&s&&this._computeTargetAndRootIntersection(o,t),l=r.entry=new n({time:u(),target:o,boundingClientRect:i,rootBounds:t,intersectionRect:f});a?e&&s?this._hasCrossedThreshold(a,l)&&this._queuedEntries.push(l):a&&a.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=e.getComputedStyle(n).display){for(var u=c(n),o=u,i=p(n),s=!1;!s;){var f=null,l=1==i.nodeType?e.getComputedStyle(i):{};if("none"==l.display)return;if(i==this.root||i==t?(s=!0,f=r):i!=t.body&&i!=t.documentElement&&"visible"!=l.overflow&&(f=c(i)),f&&!(o=a(f,o)))break;i=p(i)}return o}},r.prototype._getRootRect=function(){var e;if(this.root)e=c(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var u=0;u')],s=[Object(b.a)('
',o)];Object(d.extractOptions)(t).then(function(t){var n=t.registrationPosition,u=r(e);u||(n="conversation-top"),"recirculation-top"===n?(Object(b.e)(i,u),Object(b.d)(s,e)):"conversation-top"===n&&(Object(b.d)(i,e),Object(b.d)(s,i[0]))}),Object(y.a)(t,s[0])}var a=new Promise(function(e){Object(p.onWindowLoad)(e)}),c=new Promise(function(e){setTimeout(e,6e3)});Object(p.ready)(function(){Object(C.a)().then(function(){Object(F.a)()})}),Object(p.onWindowLoad)(function(){Object(_.a)()}),l()(function(){Object(w.a)(),Object(O.a)(t)}),Promise.race([a,c]).then(function(){Object(h.a)(e,t)})}function o(e,t,n){var r=Object(g.a)(t,n);if(r){for(var u={"data-spot-id":t},o=0;o=0)||e.parentNode&&i(e.parentNode,t)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=t(e);if(!n)return void console.log("Can't load Spot.IM (spotId is missing)");if(i(e,"taboola-widget"))return void console.log("Can't implement Spot.IM inside taboola container");Object(m.a)(n),Object(p.onWindowLoad)(function(){Object(A.storeCurrentUserId)(),Object(E.a)(n)});var r=e.src||"";if(r.indexOf(D)>-1){var s=r.substring(r.indexOf(D)+D.length);o(e,n,s)}else u(e,n)}t.a=s;var a=n(122),c=n.n(a),f=n(169),l=n.n(f),p=n(41),d=(n.n(p),n(42)),h=(n.n(d),n(199)),y=n(217),m=n(99),v=n(219),E=n(220),g=n(49),A=n(62),b=(n.n(A),n(47)),_=n(228),C=n(254),w=n(107),O=n(309),F=n(328),D="module="},function(e,t,n){e.exports={default:n(164),__esModule:!0}},function(e,t,n){n(165),e.exports=n(3).Object.assign},function(e,t,n){var r=n(8);r(r.S+r.F,"Object",{assign:n(166)})},function(e,t,n){"use strict";var r=n(55),u=n(120),o=n(118),i=n(60),s=n(75),a=Object.assign;e.exports=!a||n(27)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=a({},e)[n]||Object.keys(a({},t)).join("")!=r})?function(e,t){for(var n=i(e),a=arguments.length,c=1,f=u.f,l=o.f;a>c;)for(var p,d=s(arguments[c++]),h=f?r(d).concat(f(d)):r(d),y=h.length,m=0;y>m;)l.call(d,p=h[m++])&&(n[p]=d[p]);return n}:a},function(e,t,n){var r=n(29),u=n(76),o=n(168);e.exports=function(e){return function(t,n,i){var s,a=r(t),c=u(a.length),f=o(i,c);if(e&&n!=n){for(;c>f;)if((s=a[f++])!=s)return!0}else for(;c>f;f++)if((e||f in a)&&a[f]===n)return e||f||0;return!e&&-1}}},function(e,t,n){var r=n(39),u=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?u(e+t,0):o(e,t)}},function(e,t,n){"use strict";function r(){if(!s){s=!0;for(var e=0;e0&&void 0!==arguments[0])||arguments[0];e.extend({value:n,isLoading:!1}),t.resolve(n)},this.loadingComplete}},{key:"isLoading",value:function(){return this.obj.isLoading}},{key:"hasValue",value:function(){return!!this.obj.value}},{key:"hasValueOrLoading",value:function(){return this.hasValue()||this.isLoading()}},{key:"getLoadingPromise",value:function(){return this.obj.loadingPromise}}]),e}(),u.defaults={value:void 0,isLoading:!1,loadingPromise:void 0},o);t.InternalVariables=function(){function e(t){r(this,e),this.$global=t,this.$global[c]=this.$global[c]||{}}return i(e,null,[{key:"getCurrent",value:function(){return e.current||(e.current=new e(window)),e.current}}]),i(e,[{key:"getEntry",value:function(e){return this.$global[c][e]=this.$global[c][e]||{},new f(this.$global[c][e])}}]),e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.responseInterceptor=void 0;var u=n(32),o=r(u),i=n(90),s=r(i),a=t.responseInterceptor=function(e){return e.data.success=!1!==e.data.success,e.data},c=o.default.create({baseURL:s.default.apiURL});c.interceptors.response.use(a),t.default=c},function(e,t,n){"use strict";function r(e){var t=new i(e),n=o(i.prototype.request,t);return u.extend(n,i.prototype,t),u.extend(n,t),n}var u=n(2),o=n(85),i=n(178),s=n(44),a=r(s);a.Axios=i,a.create=function(e){return r(u.merge(s,e))},a.Cancel=n(89),a.CancelToken=n(192),a.isCancel=n(88),a.all=function(e){return Promise.all(e)},a.spread=n(193),e.exports=a,e.exports.default=a},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}/*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new i,response:new i}}var u=n(44),o=n(2),i=n(187),s=n(188);r.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(u,{method:"get"},this.defaults,e),e.method=e.method.toLowerCase();var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=r},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(87);e.exports=function(e,t,n){var u=n.config.validateStatus;n.status&&u&&!u(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,u){return e.config=t,n&&(e.code=n),e.request=r,e.response=u,e}},function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var u=n(2);e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(u.isURLSearchParams(t))o=t.toString();else{var i=[];u.forEach(t,function(e,t){null!==e&&void 0!==e&&(u.isArray(e)?t+="[]":e=[e],u.forEach(e,function(e){u.isDate(e)?e=e.toISOString():u.isObject(e)&&(e=JSON.stringify(e)),i.push(r(t)+"="+r(e))}))}),o=i.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},function(e,t,n){"use strict";var r=n(2),u=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(i[t]&&u.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i):i}},function(e,t,n){"use strict";var r=n(2);e.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(u.setAttribute("href",t),t=u.href),u.setAttribute("href",t),{href:u.href,protocol:u.protocol?u.protocol.replace(/:$/,""):"",host:u.host,search:u.search?u.search.replace(/^\?/,""):"",hash:u.hash?u.hash.replace(/^#/,""):"",hostname:u.hostname,port:u.port,pathname:"/"===u.pathname.charAt(0)?u.pathname:"/"+u.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),u=document.createElement("a");return t=e(window.location.href),function(n){var u=r.isString(n)?e(n):n;return u.protocol===t.protocol&&u.host===t.host}}():function(){return function(){return!0}}()},function(e,t,n){"use strict";function r(){this.message="String contains an invalid character"}function u(e){for(var t,n,u=String(e),i="",s=0,a=o;u.charAt(0|s)||(a="=",s%1);i+=a.charAt(63&t>>8-s%1*8)){if((n=u.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return i}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=u},function(e,t,n){"use strict";var r=n(2);e.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,u,o,i){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(u)&&s.push("path="+u),r.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},function(e,t,n){"use strict";function r(){this.handlers=[]}var u=n(2);r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){u.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=r},function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var u=n(2),o=n(189),i=n(88),s=n(44),a=n(190),c=n(191);e.exports=function(e){return r(e),e.baseURL&&!a(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=u.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),u.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(2);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new u(e),t(n.reason))})}var u=n(89);r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},e.exports=r},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return!0===e||"true"===e||!1!==e&&"false"!==e&&void 0}},function(e,t,n){"use strict";function r(e){switch(e.toUpperCase()){case"FACEBOOK":return o;case"TWITTER":return i;case"EMAIL":return s;case"DISQUS":return a;case"GOOGLE":return c;case"LINKEDIN":return f;case"VK":return l;default:return}}function u(e){return Array.isArray(e)?e.map(r).filter(function(e){return void 0!==e}):[]}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=r,t.parseArray=u;var o=t.FACEBOOK="facebook",i=t.TWITTER="twitter",s=t.EMAIL="email",a=t.DISQUS="disqus",c=t.GOOGLE="google",f=t.LINKEDIN="linkedin",l=t.VK="vk"},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(){var e=p.resolve();return(0,c.filterValidOptions)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.HostOptions=void 0;var o,i,s=function(){function e(e,t){for(var n=0;n=e.length?(this._t=void 0,u(1)):"keys"==t?u(0,n):"values"==t?u(0,e[n]):u(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(121),u=n(54),o=n(34),i={};n(10)(i,n(1)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:u(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(14),u=n(5),o=n(55);e.exports=n(9)?Object.defineProperties:function(e,t){u(e);for(var n,i=o(t),s=i.length,a=0;s>a;)r.f(e,n=i[a++],t[n]);return e}},function(e,t,n){var r=n(39),u=n(38);e.exports=function(e){return function(t,n){var o,i,s=String(u(t)),a=r(n),c=s.length;return a<0||a>=c?e?"":void 0:(o=s.charCodeAt(a),o<55296||o>56319||a+1===c||(i=s.charCodeAt(a+1))<56320||i>57343?e?s.charAt(a):o:e?s.slice(a,a+2):i-56320+(o-55296<<10)+65536)}}},function(e,t,n){var r=n(48),u=n(1)("iterator"),o=n(12);e.exports=n(3).isIterable=function(e){var t=Object(e);return void 0!==t[u]||"@@iterator"in t||o.hasOwnProperty(r(t))}},function(e,t,n){e.exports={default:n(210),__esModule:!0}},function(e,t,n){n(33),n(35),e.exports=n(211)},function(e,t,n){var r=n(5),u=n(97);e.exports=n(3).getIterator=function(e){var t=u(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";function r(e,t){for(var n=e.width,r=e.height,u=n/2,o=[],i=0;i0&&o.push({x:u,y:r}),o}function u(e,t){for(var n=e.width,r=e.height,u=r/2,o=[],i=0;i0&&o.push({x:n,y:u}),o}function o(e,t,n,r,u){if(t<0)return!1;if(t>r)return!1;if(n<0)return!1;if(n>u)return!1;var o=document.elementFromPoint(t,n);do{if(o===e)return!0;o=o.parentNode}while(o);return!1}function i(e){var t=window.getComputedStyle(e);if("none"===t.display)return!1;if("visible"!==t.visibility)return!1;if(1*t.opacity<.1)return!1;var n=e.getBoundingClientRect();if(e.offsetWidth+e.offsetHeight+n.height+n.width===0)return!1;var i=document.documentElement.clientWidth||window.innerWidth,s=document.documentElement.clientHeight||window.innerHeight,a=r(n,300),c=u(n,300);return a.some(function(t){var r=t.x,u=t.y;return o(e,n.left+r,n.top+u,i,s)})||c.some(function(t){var r=t.x,u=t.y;return o(e,n.left+r,n.top+u,i,s)})}Object.defineProperty(t,"__esModule",{value:!0}),t.isVisible=i},function(e,t,n){"use strict";function r(e,t){function n(o){u||((!r||o-r>=e)&&(r=o,t()),window.requestAnimationFrame(n))}var r=0,u=!1;return window.requestAnimationFrame(n),function(){u=!0}}Object.defineProperty(t,"__esModule",{value:!0}),t.rafInterval=r},function(e,t,n){var r,u,o;!function(n,i){u=[],r=i,void 0!==(o="function"==typeof r?r.apply(t,u):r)&&(e.exports=o)}(0,function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},u=function(t){return e.test(r(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),r=0;r-1},!1)}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=document.createElement("script");t.type="text/x-spotim-options",t.text="SPOTIM_OPTIONS = "+JSON.stringify(e),document.body.appendChild(t)}function u(){o||(r({prerenderDeferred:!0}),o=!0)}t.a=u;var o=!1},function(e,t,n){"use strict";function r(e){if(!s)if(s=!0,u.spotConfigEntry.startLoading(),u.hasBroadcastEntry.startLoading(),u.newsfeedItemsCountEntry.startLoading(),window.__SPOTIM_INIT__){var t=Object(o.parse)(window.__SPOTIM_INIT__);a(t)}else Object(o.fetchInit)(e).then(function(e){a(e)})}t.a=r;var u=n(7),o=(n.n(u),n(84)),i=(n.n(o),n(92)),s=(n.n(i),!1),a=function(e){var t=e.spotConfig,n=e.hasBroadcast,r=e.newsfeedItemsCount;t=Object(i.completeSpotConfigParse)(t),u.spotConfigEntry.setValue(t),u.hasBroadcastEntry.setValue(n),u.newsfeedItemsCountEntry.setValue(r),window.__SPOTIM_SPOT_ID__=t.spotId}},function(e,t,n){"use strict";var r=n(36);n.n(r);n.o(r,"reportLauncherLoaded")&&n.d(t,"a",function(){return r.reportLauncherLoaded})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(){var e=void 0;return window.performance&&window.performance.timing&&(e=parseInt(window.performance.timing.domLoading),(isNaN(e)||e<0)&&(e=void 0)),e}function o(e){if(!(!e||isNaN(e)||e<0)){var t=Date.now()-e;return(isNaN(t)||t<0||t>9007199254740991)&&(t=void 0),t}}function i(){var e=window.location.hostname,t=window.location.href,n=window.document.referrer,r=window.navigator.userLanguage||window.navigator.language,i=o(u()),s=(0,h.guid)(),a=window.$$SPOTIM_VID$$=window.$$SPOTIM_VID$$||(0,h.guid)(),c=void 0,f=void 0;if(window.localStorage){var l=A.default.get(g.CURRENT_USER_STORAGE_KEY);if(f=l&&l.id,f||(f=void 0),!(c=window.localStorage.$$SPOTIM_BID$$)){c=(0,h.guid)();try{window.localStorage.$$SPOTIM_BID$$=c}catch(e){}}}else c=window.$$SPOTIM_BID$$||(0,h.guid)();return window.$$SPOTIM_BID$$=c,{domain:e,href:t,referrer:n,language:r,timeFromDomLoading:i,eventId:s,visitId:a,browserId:c,userId:f}}function s(e,t,n){"function"==typeof n&&n()}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};Object.keys(e).forEach(function(n){null!==e[n]&&void 0!==e[n]&&(t[n]=e[n])});var n=encodeURIComponent(btoa(JSON.stringify(t)));return""+E.default.analyticsUrl+n+"&rnd="+Math.random()}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=i(),o=u.domain,s=u.href,a=u.referrer,c=u.language,f=u.timeFromDomLoading,l=u.eventId,h=u.visitId,y=u.browserId,m=u.userId,v={},E=Object.entries(r).reduce(function(e,t){var n=d(t,2),r=n[0],u=n[1];return r.startsWith("__")?v[r]=u:e[r]=u,e},{});return{payload:p({uid:l,time_delta:f,visit_id:h,ib_browser_id:y,source:e,source_version:t,type:n,domain:o,url:s,referrer:a,lang:c,user_id:m},E),options:v}}function f(e,t){function n(n){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=c(e,t,n,p({},v,o)),s=i.payload,f=i.options,l=u(s);if(l&&C("Track",l),f.__tracker)return void r(s,f).then(function(){f.__navigate&&(window.location=f.__navigate)});var d=a(s);return B(d).then(function(){return f.__navigate&&(window.location=f.__navigate),!0})}function r(e,t){return new Promise(function(n){if(!e||!t)return void n(w);switch(t.__tracker){case"segment":var r=t.__tracker_eventName||t.type;window.analytics?(window.analytics.track(r,e),n(D)):(console.warn("handleReferrerTracking - Segment API was not found"),n(O));break;default:console.warn("handleReferrerTracking - "+t.__tracker+" not exists"),n(F)}})}function u(e){var t=window.localStorage.getItem("tracking-filter");if(!(t=t&&t.toString())||!t.trim()||!e)return e;var n=t.split("|"),r={},u=!1;return n.forEach(function(t){var n=t.trim().split(":");return"*"===n[0]?void(u=!0):!n[1]||e[n[0]]&&e[n[0]]===n[1]?void(e[n[0]]&&r&&(r[n[0]]=e[n[0]])):void(r=null)}),u&&r?e:r}function o(e){v.spot_id=e}function i(e){v.current_user_id=e}function s(e){v.post_id=e}function f(e){v.is_registered=e||null}function d(e){v.conversation_id=e}function h(e){v=p({},v,e)}function y(){return v}var v={};document.addEventListener(m.CURRENT_USER_CHANGE,function(e){i(e.detail.currentUserId)});var E=function(e,t){return"object"===(void 0===e?"undefined":l(e))&&(t=e,e=t.event,delete t.event),{eventType:e,params:t}};return{track:function(e,t){var r=E(e,t);return n(r.eventType,r.params)},setSpotId:o,setCurrentUserId:i,setCurrentUserIsRegistered:f,setCommonParams:h,setPostId:s,setConversationId:d,backwardsCompat:E,getCommonParams:y,handleReferrerTracking:r,filterTrackingForDebug:u}}Object.defineProperty(t,"__esModule",{value:!0}),t.SEGMENT_FOUND=t.UNRECOGNIZED_TRACKER=t.MISSING_SEGMENT_API=t.MISSING_PAYLOAD_OR_OPTIONS=void 0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p=Object.assign||function(e){for(var t=1;t1?n-1:0),u=1;u-1||t.indexOf(e.toLowerCase())>-1?u.bind(null,e):function(){}}Object.defineProperty(t,"__esModule",{value:!0}),t.getDebugger=o;var i=n(43),s=function(e){return e&&e.__esModule?e:{default:e}}(i),a="SPOTIM_DEBUG_API",c=null},function(e,t,n){"use strict";function r(e,t){switch(e){case o:var n=t,r=n.currentUser;r=void 0===r?{}:r;t={currentUser:{username:r.username,email:r.email,socialNetworks:r.socialNetworks}}}return t}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=r(e,t);var n=new CustomEvent(e,{detail:t});document.dispatchEvent(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.notifyHostEvent=u;var o=(t.USER_UP_VOTE_CLICK="spot-im-user-up-vote-click",t.USER_DOWN_VOTE_CLICK="spot-im-user-down-vote-click",t.USER_NOTIFICATIONS_CLICK="spot-im-user-notifications-click",t.CURRENT_USER_TYPING_START="spot-im-current-user-typing-start",t.CURRENT_USER_TYPING_END="spot-im-current-user-typing-end",t.CURRENT_USER_SENT_MESSAGE="spot-im-current-user-sent-message",t.POST_LOGIN="spot-im-post-login");t.CURRENT_USER_CHANGE="spot-im-current-user-change",t.LOGIN_START="spot-im-login-start",t.FRAME_ENTITY_LOAD="spot-im-frame-entity-load",t.FRAME_RESIZE="spot-im-frame-resize",t.MODALS_HEIGHT="spot-im-modals-height",t.USER_CLICK="spot-im-user-click",t.API_READY="spot-im-api-ready",t.OPEN_USER_PROFILE="spot-im-open-user-profile",t.CONVERSATION_LOAD="spot-im-conversation-loaded",t.CONVERSATION_CHANGE="spot-im-conversation-changed",t.FOLLOW_TOGGLE="spot-im-follow-toggle",t.RELOAD_WINDOW="spot-im-reload-window",t.NAVIGATE_TO_URL="spot-im-navigate-to-url",t.HOST_API_REALTIME_NEW_MESSAGE="spot-im-realtime-new-message"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null;r=n(225).default,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={analyticsUrl:"https://pix.spot.im/api/v1/pixel?m="}},function(e,t,n){!function(n,r){void 0!==e&&e.exports&&(t=e.exports=r(n,t))}(this,function(e,t){"use strict";return Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length>>>0,n=Number(arguments[1])||0;for(n=n<0?Math.ceil(n):Math.floor(n),n<0&&(n+=t);n-1)return null;try{i.push(n),u=JSON.stringify({data:i}),localStorage.setItem(o,u)}catch(t){console.log(t),console&&console.warn("Lockr didn't successfully add the "+n+" to "+e+" set, because the localStorage is full.")}},t.smembers=function(e,t){var n,r=this._getPrefixedKey(e,t);try{n=JSON.parse(localStorage.getItem(r))}catch(e){n=null}return null===n?[]:n.data||[]},t.sismember=function(e,n,r){this._getPrefixedKey(e,r);return t.smembers(e).indexOf(n)>-1},t.getAll=function(){return Object.keys(localStorage).map(function(e){return t.get(e)})},t.srem=function(e,n,r){var u,o,i=this._getPrefixedKey(e,r),s=t.smembers(e,n);o=s.indexOf(n),o>-1&&s.splice(o,1),u=JSON.stringify({data:s});try{localStorage.setItem(i,u)}catch(t){console&&console.warn("Lockr couldn't remove the "+n+" from the set "+e)}},t.rm=function(e){localStorage.removeItem(e)},t.flush=function(){localStorage.clear()},t})},function(e,t){e.exports={name:"@spotim/spot-libs",version:"4.1.191-fed.prerender-ykBe0OPJ.0",description:"Spot.IM libraries",scripts:{test:"NODE_ENV=staging BABEL_ENV=test jest --coverage --ci --no-cache","test:watch":"NODE_ENV=staging BABEL_ENV=test jest --watch","test-fed-connected-components":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-connected-components":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-analytics":"NODE_ENV=tests ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-analytics":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-multiframes":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","dev-fed-multiframes":"NODE_ENV=development node ./webpack/index.js","dev-fed-multiframes:build":"NODE_ENV=development node ./webpack/index.js --build","deploy-fed-multiframes:staging":"NODE_ENV=staging node ./webpack/index.js --deploy","deploy-fed-multiframes:production":"NODE_ENV=production node ./webpack/index.js --deploy","test-fed-rich-editor":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-fed-realtime":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-realtime":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-broadcast":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-fed-communicator":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-communicator":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-models":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-models":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-module-options":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-module-options":"NODE_ENV=tests node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./tests/index.js","test-fed-resources":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-fed-common":"NODE_ENV=staging ../../node_modules/mocha/bin/mocha ./fed-common/test/index.js","test-debug-fed-common":"NODE_ENV=staging node ./node_modules/iron-node/bin/run.js ./node_modules/mocha/bin/_mocha ./test/index.js","test-fed-common-components":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-fed-uikit":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-fed-utils":"NODE_ENV=staging ./node_modules/mocha/bin/mocha ./test/index.js","test-debug-fed-utils":"NODE_ENV=tests TEST_DEBUG=true iron-node ./node_modules/mocha/bin/_mocha ./test/index.js",storybook:"start-storybook -p 6006","build-storybook":"build-storybook"},author:"Spot.IM Front End Team",license:"UNLICENSED",dependencies:{"@spotim/fed-avatars":"4.1.191-fed.prerender-ykBe0OPJ.0","@spotim/fed-bootstrap":"4.1.191-fed.prerender-ykBe0OPJ.0","@storybook/addon-actions":"^3.4.3","@storybook/addon-links":"^3.4.3","@storybook/addons":"^3.4.3","@storybook/react":"^3.4.3",adjust:"^2.1.1","assets-webpack-plugin":"^3.5.1","autobind-decorator":"^1.3.4",autoprefixer:"^7.1.1",axios:"^0.18.0",babel:"^6.5.2","babel-core":"^6.25.0","babel-eslint":"^7.1.1","babel-jest":"^22.4.3","babel-loader":"^7.1.1","babel-plugin-styled-components":"^1.5.1","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-react-constant-elements":"^6.22.0","babel-plugin-transform-react-inline-elements":"^6.22.0","babel-plugin-transform-react-jsx":"^6.23.0","babel-plugin-transform-react-remove-prop-types":"^0.4.3","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.6.1","babel-preset-es2015":"^6.22.0","babel-preset-es2017":"^6.22.0","babel-preset-jest":"^22.4.3","babel-preset-react":"^6.23.0","babel-preset-stage-0":"^6.22.0","babel-register":"^6.23.0","babel-runtime":"^6.22.0",babelify:"^7.3.0","browser-process-hrtime":"^0.1.2",browserify:"^13.0.0",btoa:"^1.2.1","bugsnag-js":"^4.7.2",centrifuge:"^1.4.2",chai:"^3.5.0","chai-as-promised":"^6.0.0","chai-spies":"^0.7.1",chalk:"^1.1.3","change-case":"^3.0.1",classnames:"^2.2.5","clean-webpack-plugin":"^0.1.15","core-decorators":"^0.14.0","css-loader":"^0.28.4","date-fns":"^1.29.0",debug:"^2.6.0","deep-extend":"^0.4.1","dirty-chai":"^1.2.2","dom-iterator":"^0.3.0",dotenv:"^4.0.0","es6-map":"^0.1.4","es6-promise":"^4.1.1","es6-set":"^0.1.4",eslint:"^4.5.0","eslint-config-google":"^0.9.1","eslint-config-react-app":"^2.0.0","eslint-loader":"^1.9.0","eslint-plugin-flowtype":"^2.35.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^5.1.1","eslint-plugin-react":"^7.7.0",express:"^4.16.3","extract-text-webpack-plugin":"^3.0.0",faker:"^4.1.0","file-loader":"^0.11.2","fs-extra":"^3.0.1","giphy-api":"^1.2.7",gulp:"^3.9.1","gulp-awspublish":"^3.3.0","gulp-awspublish-router":"^0.1.2","gulp-concat":"^2.6.0","gulp-rename":"^1.2.2","gulp-replace":"^0.5.4","gulp-sourcemaps":"^1.6.0","gulp-uglify":"^1.5.3","gulp-util":"^3.0.7","html-webpack-plugin":"^2.28.0",htmlparser2:"^3.9.2","ima.js-babel6-polyfill":"^0.1.1",immer:"^1.3.1","immutability-helper":"^2.6.4",immutable:"^3.8.1","innersvg-polyfill":"^0.0.2","iron-node":"^3.0.20",jest:"^22.4.2","jest-styled-components":"^5.0.1","js-cookie":"^2.1.3",jsdom:"^9.11.0","jsdom-global":"^2.1.1","loader-utils":"^1.1.0",lockr:"^0.8.4","lorem-ipsum":"^1.0.4",mocha:"^3.2.0","mocha-jsdom":"^1.1.0","mock-raf":"^1.0.0","move-js":"^0.5.0","node-sass":"^4.8.3","object-assign":"^4.1.0","object.entries":"^1.0.4",open:"^0.0.5",polished:"^1.9.0","popper.js":"^1.11.0","postcss-flexbugs-fixes":"^3.0.0","postcss-loader":"^2.0.6","progress-bar-webpack-plugin":"^1.9.0","prop-types":"^15.6.0",quill:"^1.2.2","razzle-dev-utils":"^0.8.4",react:"^16.3.0","react-addons-css-transition-group":"^15.6.2","react-addons-test-utils":"^15.6.2","react-dev-utils":"^4.0.0","react-dom":"^16.0.0","react-error-overlay":"^2.0.0","react-immutable-proptypes":"^2.1.0","react-redux":"^5.0.7","react-tools":"^0.13.3","react-tracking":"^5.2.1","react-truncate":"^2.3.0",redux:"^4.0.0","redux-act":"^1.7.4","redux-actions":"^2.3.2","redux-batched-actions":"^0.2.1","redux-logic":"^0.12.3","redux-mock-store":"^1.2.2","redux-thunk":"^2.2.0","regenerator-runtime":"^0.11.1",renorm:"^0.3.5",rxjs:"^5.5.6","sass-loader":"^4.1.1",sinon:"^6.1.4","source-map-loader":"^0.1.5","start-server-webpack-plugin":"^2.2.0","style-loader":"^0.18.2","styled-components":"^3.1.5",superagent:"^3.5.2","superagent-jsonp":"^0.1.1","svg-sprite-loader":"^0.0.31","svgo-loader":"^1.2.1",transifex:"^1.4.4","url-loader":"^0.5.9",uuid:"^3.3.2",verge:"^1.9.1","viewport-observer":"^2.3.0","vinyl-buffer":"^1.0.0","vinyl-source-stream":"^1.1.0",webpack:"^3.4.1","webpack-dev-server":"^2.6.1","webpack-node-externals":"^1.6.0","whatwg-fetch":"^1.0.0",xhr:"^2.2.2",yargs:"^7.0.1"},devDependencies:{"babel-plugin-styled-components":"^1.5.1"}}},function(e,t,n){"use strict";function r(){o.spotConfigEntry.hasValueOrLoading()&&o.spotConfigEntry.getLoadingPromise().then(function(e){if(e){var t=e.spotId;Object(u.waitForMessagesCount)(t)}})}t.a=r;var u=n(229),o=(n.n(u),n(7));n.n(o)},function(e,t,n){"use strict";function r(e){window.SpotImMessagesCountScriptRun||(window.SpotImMessagesCountScriptRun=!0,(0,u.onElementInserted)(o,"messagesCountInserted",function(t){Promise.resolve().then(function(){return n(232)}).then(function(n){(0,n.attachMessagesCount)(t,e)})}))}Object.defineProperty(t,"__esModule",{value:!0}),t.waitForMessagesCount=r;var u=n(230),o=".spot-im-replies-count"},function(e,t,n){"use strict";function r(e,t,n){var r=document.querySelectorAll(e);[].slice.call(r).forEach(function(e){return n(e)}),(0,u.onAnimationStart)(t,function(e){return n(e)})}Object.defineProperty(t,"__esModule",{value:!0}),t.onElementInserted=r;var u=n(102)},function(e,t,n){"use strict";function r(e,t,n){for(var r=0;r=r){if(u){var i=e.getElementsByClassName(u);[].forEach.call(i,function(e){a(e,t,n,o)})}else a(e,t,n,o);(0,h.addClass)(e,"spot-im-above-min-count")}else(0,h.addClass)(e,"spot-im-below-min-count")},function(){return console.log("Failed to resolve messages count for post "+n)})})}Object.defineProperty(t,"__esModule",{value:!0}),t.getElements=void 0,t.attachMessagesCount=c;var f=n(83),l=r(f),p=n(233),d=r(p),h=n(41),y=n(245),m=r(y),v=n(246),E=r(v),g=n(247),A=n(248);n(251);var b="data-post-id",_="data-min-count",C="data-placeholder-class",w="real-time",O=[],F=(0,m.default)(function(e){var t=O;O=[];var n=t.map(function(e){return e.postId});d.default.getMessagesCount(e,n).then(function(e){return e.body}).then(function(e){return o(e.messages_count,t)},function(e){return i(t,e)})},500),D=t.getElements=function(e){return"string"==typeof e?document.querySelectorAll(e):e instanceof HTMLElement&&[e]}},function(e,t,n){"use strict";function r(e,t){var n={spot_id:e,posts_ids:t.join(",")};return o.default.getMessagesCount.execute(n)}Object.defineProperty(t,"__esModule",{value:!0});var u=n(234),o=function(e){return e&&e.__esModule?e:{default:e}}(u);t.default={getMessagesCount:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(103),u=n(106),o=function(e){return e&&e.__esModule?e:{default:e}}(u),i=new o.default(r.openApi,"get","/v1/messages-count");t.default={getMessagesCount:i}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(e,t){return e.then(function(e){var r=e.request;return t.requestInterceptor(r,n)})},Promise.resolve({request:e}))}},{key:"invokeResponseInterceptors",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.reduce(function(t,n){return t.then(function(t){var u=t.response;return n.responseInterceptor(e,u,r)})},Promise.resolve({response:t}))}},{key:"get",value:function(t,n,r){var u=s.default.get(t,n);return e.performRequest(u,r)}},{key:"post",value:function(t,n,r){var u=s.default.post(t,n);return e.performRequest(u,r)}},{key:"patch",value:function(t,n,r){var u=s.default.patch(t,n);return e.performRequest(u,r)}},{key:"put",value:function(t,n,r){var u=s.default.put(t,n);return e.performRequest(u,r)}},{key:"del",value:function(t,n){var r=s.default.del(t);return e.performRequest(r,n)}}]),e}();t.default=f},function(e,t,n){function r(){}function u(e){if(!y(e))return e;var t=[];for(var n in e)o(t,n,e[n]);return t.join("&")}function o(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){o(e,t,n)});else if(y(n))for(var r in n)o(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function i(e){for(var t,n,r={},u=e.split("&"),o=0,i=u.length;o=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var u=this._header["content-type"],o=this._serializer||E.serialize[u?u.split(";")[0]:""];!o&&a(u)&&(o=E.serialize["application/json"]),o&&(n=o(n))}for(var i in this.header)null!=this.header[i]&&this.header.hasOwnProperty(i)&&t.setRequestHeader(i,this.header[i]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},E.agent=function(){return new v},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(e){v.prototype[e.toLowerCase()]=function(t,n){var r=new E.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}}),v.prototype.del=v.prototype.delete,E.get=function(e,t,n){var r=E("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},E.head=function(e,t,n){var r=E("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},E.options=function(e,t,n){var r=E("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},E.del=l,E.delete=l,E.patch=function(e,t,n){var r=E("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},E.post=function(e,t,n){var r=E("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},E.put=function(e,t,n){var r=E("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){function r(e){if(e)return u(e)}function u(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,u=0;u=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~i.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(o(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),o(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=o(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&o(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(e,t,n){"use strict";function r(e){if(e)return u(e)}function u(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var o=n(241);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=o.type(t);var n=o.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=o.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),u=n.shift();return r&&u&&(e[r]=u),e},{})},t.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e},{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments:arguments}),this}}),n.prototype._setDefaults=function(e){this._defaults.forEach(function(t){e[t.fn].apply(e,t.arguments)})},e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=null;r=n(244).default,t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={analyticsRead:{url:"https://analytics-read.spot.im",cdn:"https://www.spot.im/api/analytics-read"},conversationRead:{url:"https://conversation-read.spot.im",cdn:"https://www.spot.im/api/conversation-read"},emailConnect:{url:"https://email-connect.spot.im",cdn:"https://www.spot.im/api/email-connect"},extract:{url:"https://extract.spot.im",cdn:"https://www.spot.im/api/extract"},findUser:{url:"https://find-user.spot.im",cdn:"https://www.spot.im/api/find-user"},general:{url:"https://conversation.spot.im",cdn:"https://www.spot.im/api"},me:{url:"https://me.spot.im",cdn:"https://www.spot.im/api/me"},moderation:{url:"https://moderation.spot.im",cdn:"https://www.spot.im/api/moderation"},newsfeedSync:{url:"https://newsfeed-sync.spot.im",cdn:"https://www.spot.im/api/newsfeed-sync"},notifications:{url:"https://notifications.spot.im",cdn:"https://www.spot.im/api/notifications"},openApi:{url:"https://open-api.spot.im",cdn:"https://www.spot.im/api/open-api"},publicUser:{url:"https://public-user.spot.im",cdn:"https://www.spot.im/api/public-user"},rank:{url:"https://rank.spot.im",cdn:"https://www.spot.im/api/rank"},recommendations:{url:"https://recommendation.spot.im",cdn:"https://www.spot.im/api/recommendation"},socialConnect:{url:"https://social-connect.spot.im",cdn:"https://www.spot.im/api/social-connect"},tracker:{url:"https://tracker.spot.im",cdn:"https://www.spot.im/api/tracker"},topic:{url:"https://topics.spot.im",cdn:"https://www.spot.im/api/topics"},importConversations:{url:"https://import.spot.im",cdn:"https://www.spot.im/api/import"}}},function(e,t,n){"use strict";function r(e,t,n){var r=!0===n||"start"===n,u=!1==!n||void 0===n||"end"===n,o="both"===n,i=null;return function(){var n=this,s=arguments,a=function(){i=null,(u||o)&&e.apply(n,s)},c=(r||o)&&!i;clearTimeout(i),i=setTimeout(a,t),c&&e.apply(n,s)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(e+"").replace(/(\d)(?=(\d{3})+$)/g,"$1,")}},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e=e.replace(/%/g,"_"),encodeURIComponent(e).replace(/%/g,"_")}Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePostId=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.incrementMessagesCount=t.eventHandler=t.messagesCountListener=void 0;var u=n(249),o=r(u),i=n(250),s=r(i),a=(t.messagesCountListener=function(e,t){document.addEventListener("spot-im-current-user-sent-message",a(e,t)),document.addEventListener("spot-im-realtime-new-message",a(e,t))},t.eventHandler=function(e,t){return function(n){var r=n.detail.postId;t===r&&c(e)}}),c=t.incrementMessagesCount=function(e){if(!(HTMLElement,!0))throw"Spot IM - Exernal message counter incrementMessagesCount() - element is not a an htmlElement";var t=e.childNodes[0];if("#text"===t.nodeName){var n=parseInt((0,s.default)(t.nodeValue));isNaN(n)||(t.nodeValue=(0,o.default)((n+1).toString()))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.prettyNumber=function(e){return e?e.toString().replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1,"):e};t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.unPrettyNumber=function(e){return e.toString().replace(/,/g,"")};t.default=r},function(e,t,n){var r=n(252);"string"==typeof r&&(r=[[e.i,r,""]]);n(130)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(129)(),t.push([e.i,"@-webkit-keyframes spl_messagesCountInserted{0%{outline-color:#fff}to{outline-color:#000}}@keyframes spl_messagesCountInserted{0%{outline-color:#fff}to{outline-color:#000}}.spot-im-replies-count{-webkit-animation-duration:10ms;animation-duration:10ms;-webkit-animation-name:spl_messagesCountInserted;animation-name:spl_messagesCountInserted}",""]),t.locals={messagesCountInserted:"spl_messagesCountInserted"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var u=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(u))return e;var o;return o=0===u.indexOf("//")?u:0===u.indexOf("/")?n+u:r+u.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"})}},function(e,t,n){"use strict";function r(){return!0===f?Promise.resolve():(f=!0,s.spotConfigEntry.hasValueOrLoading()?s.spotConfigEntry.getLoadingPromise().then(function(e){if(!e)return Promise.resolve();var t=e.spotId;return Object(c.extractOptions)(t).then(function(e){var t=e.styleBlock,n=e.scriptBlock;return t&&(t=Object(a.parseSpsl)(t).getSection("essential"),Object(i.injectStyleTag)(t)),n?(n=Object(a.parseSpsl)(n).getSection("essential"),o()(document.body,void 0,{content:n})):Promise.resolve()})}):new Promise(function(e){return e()}))}t.a=r;var u=n(255),o=n.n(u),i=n(256),s=(n.n(i),n(7)),a=(n.n(s),n(257)),c=(n.n(a),n(42)),f=(n.n(c),!1)},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.content,u=n.attributes;return new Promise(function(n,o){var i=document.createElement("script");if(i.type="text/javascript",t&&(i.addEventListener("load",n,!1),i.addEventListener("error",o,!1),i.src=t),r&&(i.text=r),u&&Object.keys(u).forEach(function(e){i.setAttribute(e,u[e])}),e.appendChild(i),!t)return n()})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.id;if(!n||!document.getElementById(n)){var r=document.createElement("style");r.type="text/css",n&&(r.id=n),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e));(document.head||document.getElementsByTagName("head")[0]).appendChild(r)}}function u(e){var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.media="all",t.href=e,(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.injectStyleTag=r,t.injectStyleLink=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=//gm,u=//gm,o=/0){return u[0].replace(//gm,"").replace(/<\/.*section.*>/gm,"")}return null}}}},function(e,t,n){var r=function(){return this}()||Function("return this")(),u=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=u&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(259),u)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof u?t:u,i=Object.create(o.prototype),s=new d(r||[]);return i._invoke=c(e,n,s),i}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function u(){}function o(){}function i(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function a(e){function t(n,u,o,i){var s=r(e[n],e,u);if("throw"!==s.type){var a=s.arg,c=a.value;return c&&"object"==typeof c&&E.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,i)},function(e){t("throw",e,o,i)}):Promise.resolve(c).then(function(e){a.value=e,o(a)},i)}i(s.arg)}function n(e,n){function r(){return new Promise(function(r,u){t(e,n,r,u)})}return u=u?u.then(r,r):r()}var u;this._invoke=n}function c(e,t,n){var u=O;return function(o,i){if(u===D)throw new Error("Generator is already running");if(u===B){if("throw"===o)throw i;return y()}for(n.method=o,n.arg=i;;){var s=n.delegate;if(s){var a=f(s,n);if(a){if(a===S)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(u===O)throw u=B,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);u=D;var c=r(e,t,n);if("normal"===c.type){if(u=n.done?B:F,c.arg===S)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(u=B,n.method="throw",n.arg=c.arg)}}}function f(e,t){var n=e.iterator[t.method];if(n===m){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=m,f(e,t),"throw"===t.method))return S;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var u=r(n,e.iterator,t.arg);if("throw"===u.type)return t.method="throw",t.arg=u.arg,t.delegate=null,S;var o=u.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=m),t.delegate=null,S):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,S)}function l(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(l,this),this.reset(!0)}function h(e){if(e){var t=e[A];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var u=this.tryEntries[r],o=u.completion;if("root"===u.tryLoc)return t("end");if(u.tryLoc<=this.prev){var i=E.call(u,"catchLoc"),s=E.call(u,"finallyLoc");if(i&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&E.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),S}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var u=r.arg;p(n)}return u}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=m),S}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e){for(var t=c[0],n=1;n=c[n].start&&(t=c[n]);return t.type}function u(e){for(var t=null,n=c.length-1;n>=0;n--)e0&&(h=setTimeout(function(){if(!d){d=!0,f.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",u(e)}},e.timeout)),f.setRequestHeader)for(p in E)E.hasOwnProperty(p)&&f.setRequestHeader(p,E[p]);else if(e.headers&&!r(e.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(f.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(f),f.send(v||null),f}function s(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}function a(){}var c=n(263),f=n(264),l=n(265),p=n(268);e.exports=o,e.exports.default=o,o.XMLHttpRequest=c.XMLHttpRequest||a,o.XDomainRequest="withCredentials"in new o.XMLHttpRequest?o.XMLHttpRequest:c.XDomainRequest,function(e,t){for(var n=0;n=3&&(o=n),"[object Array]"===u.call(e)?i(e,t,o):"string"==typeof e?s(e,t,o):a(e,t,o)};e.exports=c},function(e,t){function n(){for(var e={},t=0;t0?o.join(","):""),e+a+"/v200/"+n+c}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(77),o=n(270),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=r},function(e,t,n){"use strict";function r(e,t){var n="https://image-provider.staging-spot.im/";return n+=e,t.width&&(n+="/"+3*t.width+"x"+3*t.height,"thumb"===t.crop&&(n+=",fit")),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(103),u=n(106),o=function(e){return e&&e.__esModule?e:{default:e}}(u),i=new o.default(r.extract,"post","/"),s=new o.default(r.extract,"post","/cloudinary/sign");t.default={extract:i,cloudinarySign:s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),u=n(273),o=function(e){return e&&e.__esModule?e:{default:e}}(u),i=null;i=n(274).default,t.default=(0,r.deepExtendObject)({},o.default,i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={cloudinary:{url:"https://images.spot.im/image/upload"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={cloudinary:{apiKey:"468332229667797"}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTopics=t.getRelatedTopics=t.getTopic=void 0;var u=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[];return Array.isArray(t)&&(t=t[0]),n.push(t.key),Object.entries(t.schema).forEach(function(t){var r=u(t,2),o=(r[0],r[1]);return e(o,n)}),n.filter(i)},t.dotProp=function(e,t){return e.split(".").reduce(function(e,t){return e?e[t]:void 0},t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,u=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(u)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=n(2),o=n(4),i=n(0),s={entitiesPath:"entities",process:function(e){return e}},a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=(0,u.schemaSelectorCreator)(t),c=(0,i.getEntityNames)(t);return n=Object.assign({},s,n),a(e,function(e){return Object.entries((0,i.dotProp)(n.entitiesPath,e)).reduce(function(e,t){var n=r(t,2),u=n[0],o=n[1];return c.includes(u)&&(e[u]=o),e},{})},function(e,r){return n.process((0,o.denormalize)(e,t,r))})};t.default=a},function(e,t,n){"use strict";function r(e,t){var n=c();return function(){if(!(0,i.areArgumentsShallowlyEqual)(i.equalityCheck,n.lastArgs,arguments)){var r=Array.prototype.slice.call(arguments),u=r[0],o=r[1],s=e.apply(null,arguments),c=Array.isArray(s)?s:[s],f=Array.isArray(u)?u:[u];if(n.lastResult){var l=(0,i.toEntity)(c),p=Array.isArray(t)?t[0]:t;n.lastResult=f.map(function(e){return a(e,p,o,n.lastEntities)?l[e]:n.lastResultEntityMap[e]})}else n.lastResult=c;n.lastResultEntityMap=(0,i.toEntity)(n.lastResult),n.lastArgs=arguments,n.lastEntities=o}return Array.isArray(t)?n.lastResult:n.lastResult[0]}}Object.defineProperty(t,"__esModule",{value:!0}),t.schemaSelectorCreator=void 0;var u=function(){function e(e,t){var n=[],r=!0,u=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){u=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(u)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(3),i=n(0),s=function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return Array.isArray(n)?n=n[0]:t=[t],t.forEach(function(t){var s=(0,i.getEntity)(t,n,r);o.push(s),Object.entries(n.schema).forEach(function(t){var n=u(t,2),i=n[0],a=n[1],c=s.entity[i];return e(c,a,r,o)})}),o},a=function(e,t,n,r){return s(e,t,n).reduce(function(e,t){return e||n[t.schema.key][t.entity[t.schema.idAttribute]]!==r[t.schema.key][t.entity[t.schema.idAttribute]]},!1)},c=function(){return{lastArgs:null,lastEntities:null,lastResult:null,lastResultEntityMap:null}};t.schemaSelectorCreator=function(e){return(0,o.createSelectorCreator)(r,e)}},function(e,t){e.exports=n(50)},function(e,t){e.exports=n(111)}])},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(u(this,e),!t||"string"!=typeof t)throw new Error("Expected a string key for Entity, but found "+t+".");var o=r.idAttribute,s=void 0===o?"id":o,a=r.mergeStrategy,c=void 0===a?function(e,t){return i({},e,t)}:a,l=r.processStrategy,p=void 0===l?function(e){return i({},e)}:l;this._key=t,this._getId="function"==typeof s?s:f(s),this._idAttribute=s,this._mergeStrategy=c,this._processStrategy=p,this.define(n)}return s(e,[{key:"define",value:function(e){this.schema=Object.keys(e).reduce(function(t,n){var u=e[n];return i({},t,r({},n,u))},this.schema||{})}},{key:"getId",value:function(e,t,n){return this._getId(e,t,n)}},{key:"merge",value:function(e,t){return this._mergeStrategy(e,t)}},{key:"normalize",value:function(e,t,n,r,u){var i=this,s=this._processStrategy(e,t,n);return Object.keys(this.schema).forEach(function(e){if(s.hasOwnProperty(e)&&"object"===o(s[e])){var t=i.schema[e];s[e]=r(s[e],s,e,t,u)}}),u(this,s,e,t,n),this.getId(e,t,n)}},{key:"denormalize",value:function(e,t){var n=this;return c.isImmutable(e)?c.denormalizeImmutable(this.schema,e,t):(Object.keys(this.schema).forEach(function(r){if(e.hasOwnProperty(r)){var u=n.schema[r];e[r]=t(e[r],u)}}),e)}},{key:"key",get:function(){return this._key}},{key:"idAttribute",get:function(){return this._idAttribute}}]),e}();t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1)throw new Error("Expected schema definition to be a single schema, but found "+e.length+".");return e[0]},f=function(e){return Array.isArray(e)?e:Object.keys(e).map(function(t){return e[t]})},l=(t.normalize=function(e,t,n,r,u,o){return e=c(e),f(t).map(function(t,i){return u(t,n,r,e,o)})},t.denormalize=function(e,t,n){return e=c(e),t&&t.map?t.map(function(t){return n(t,e)}):t},function(e){function t(){return r(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"normalize",value:function(e,t,n,r,u){var o=this;return f(e).map(function(e,i){return o.normalizeValue(e,t,n,r,u)}).filter(function(e){return void 0!==e&&null!==e})}},{key:"denormalize",value:function(e,t){var n=this;return e&&e.map?e.map(function(e){return n.denormalizeValue(e,t)}):e}}]),t}(a.default));t.default=l},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.denormalize=t.normalize=void 0;var o=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(u,o){try{var i=t[u](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}Object.defineProperty(t,"__esModule",{value:!0}),t.getTopicStats=t.getTopicPromo=t.getTopicRealtimeData=void 0;var i=n(31),s=r(i),a=Object.assign||function(e){for(var t=1;t=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),o.alloc(+e)}function m(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return H(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return B(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return x(this,t,n);case"base64":return D(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function E(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,u){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:A(e,t,n,r,u);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):A(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}function A(e,t,n,r,u){function o(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,s=e.length,a=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,n/=2}var c;if(u){var f=-1;for(c=n;cs&&(n=s-a),c=n;c>=0;c--){for(var l=!0,p=0;pu&&(r=u):r=u;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var i=0;i239?4:o>223?3:o>191?2:1;if(u+s<=n){var a,c,f,l;switch(s){case 1:o<128&&(i=o);break;case 2:a=e[u+1],128==(192&a)&&(l=(31&o)<<6|63&a)>127&&(i=l);break;case 3:a=e[u+1],c=e[u+2],128==(192&a)&&128==(192&c)&&(l=(15&o)<<12|(63&a)<<6|63&c)>2047&&(l<55296||l>57343)&&(i=l);break;case 4:a=e[u+1],c=e[u+2],f=e[u+3],128==(192&a)&&128==(192&c)&&128==(192&f)&&(l=(15&o)<<18|(63&a)<<12|(63&c)<<6|63&f)>65535&&l<1114112&&(i=l)}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),u+=s}return S(r)}function S(e){var t=e.length;if(t<=Z)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var u="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,u,i){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||te.length)throw new RangeError("Index out of range")}function k(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,o=Math.min(e.length-n,2);u>>8*(r?u:1-u)}function M(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,o=Math.min(e.length-n,4);u>>8*(r?u:3-u)&255}function L(e,t,n,r,u,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,u){return u||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,u){return u||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function $(e){if(e=G(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function G(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function V(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){t=t||1/0;for(var n,r=e.length,u=null,o=[],i=0;i55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&o.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&o.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(e){for(var t=[],n=0;n>8,u=n%256,o.push(u),o.push(r);return o}function K(e){return X.toByteArray($(e))}function W(e,t,n,r){for(var u=0;u=t.length||u>=e.length);++u)t[u+n]=e[u];return u}function Y(e){return e!==e}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var X=n(304),J=n(305),Q=n(306);t.Buffer=o,t.SlowBuffer=y,t.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return i(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return a(null,e,t,n)},o.allocUnsafe=function(e){return c(null,e)},o.allocUnsafeSlow=function(e){return c(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,i=Math.min(n,r);u0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},o.prototype.compare=function(e,t,n,r,u){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===u&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,u>>>=0,this===e)return 0;for(var i=u-r,s=n-t,a=Math.min(i,s),c=this.slice(r,u),f=e.slice(t,n),l=0;lu)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return O(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return F(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(u*=256);)r+=this[e+--t]*u;return r},o.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],u=1,o=0;++o=u&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,u=1,o=this[e+--r];r>0&&(u*=256);)o+=this[e+--r]*u;return u*=128,o>=u&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}var u=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+u]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):M(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);R(this,e,t,n,u-1,-u)}var o=0,i=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);R(this,e,t,n,u-1,-u)}var o=n-1,i=1,s=0;for(this[t+o]=255&e;--o>=0&&(i*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/i>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):k(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):k(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):M(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):M(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--u)e[u+t]=this[u+n];else if(i<1e3||!o.TYPED_ARRAY_SUPPORT)for(u=0;u>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){var t=r(e),n=t[0],u=t[1];return 3*(n+u)/4-u}function o(e,t,n){return 3*(t+n)/4-n}function i(e){for(var t,n=r(e),u=n[0],i=n[1],s=new p(o(e,u,i)),a=0,c=i>0?u-4:u,f=0;f>16&255,s[a++]=t>>8&255,s[a++]=255&t;return 2===i&&(t=l[e.charCodeAt(f)]<<2|l[e.charCodeAt(f+1)]>>4,s[a++]=255&t),1===i&&(t=l[e.charCodeAt(f)]<<10|l[e.charCodeAt(f+1)]<<4|l[e.charCodeAt(f+2)]>>2,s[a++]=t>>8&255,s[a++]=255&t),s}function s(e){return f[e>>18&63]+f[e>>12&63]+f[e>>6&63]+f[63&e]}function a(e,t,n){for(var r,u=[],o=t;oi?i:o+16383));return 1===r?(t=e[n-1],u.push(f[t>>2]+f[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],u.push(f[t>>10]+f[t>>4&63]+f[t<<2&63]+"=")),u.join("")}t.byteLength=u,t.toByteArray=i,t.fromByteArray=c;for(var f=[],l=[],p="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,y=d.length;h>1,f=-7,l=n?u-1:0,p=n?-1:1,d=e[t+l];for(l+=p,o=d&(1<<-f)-1,d>>=-f,f+=s;f>0;o=256*o+e[t+l],l+=p,f-=8);for(i=o&(1<<-f)-1,o>>=-f,f+=r;f>0;i=256*i+e[t+l],l+=p,f-=8);if(0===o)o=1-c;else{if(o===a)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,r),o-=c}return(d?-1:1)*i*Math.pow(2,o-r)},t.write=function(e,t,n,r,u,o){var i,s,a,c=8*o-u-1,f=(1<>1,p=23===u?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,h=r?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=f):(i=Math.floor(Math.log(t)/Math.LN2),t*(a=Math.pow(2,-i))<1&&(i--,a*=2),t+=i+l>=1?p/a:p*Math.pow(2,1-l),t*a>=2&&(i++,a/=2),i+l>=f?(s=0,i=f):i+l>=1?(s=(t*a-1)*Math.pow(2,u),i+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,u),i=0));u>=8;e[n+d]=255&s,d+=h,s/=256,u-=8);for(i=i<0;e[n+d]=255&i,d+=h,i/=256,c-=8);e[n+d-h]|=128*y}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){n(308);var r=n(3).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(8);r(r.S+r.F*!n(9),"Object",{defineProperty:n(14).f})},function(e,t,n){"use strict";function r(e){var t=e.lastOpeningLink,n=e.lastClosingLink,r=e.content,u=e.result,o=e.keyword,i=e.paragraph;if(t",s.index),f=r({lastOpeningLink:a,lastClosingLink:c,content:i,result:s,keyword:e,paragraph:o});if(f)return f}}function o(e,t,n){var r=e.paragraph.innerHTML;r=r.substr(0,e.index)+''+e.sameCaseKeyword+""+r.substr(e.index+e.sameCaseKeyword.length),e.paragraph.innerHTML=r}function i(){var e=new IntersectionObserver(function(e){if(!(e[0].intersectionRatio<=0)){var t=e[0].target.innerText;b[t]||(b[t]=!0,y.tracker.track("viewed",{item_type:"annotations",item_id:t.toLowerCase()}))}});[].slice.call(document.querySelectorAll(".__spotim_annotation__")).forEach(function(t){e.observe(t)})}function s(e){y.tracker.track("loaded",{item_type:"annotations",item_id:e.toLowerCase()})}function a(e,t,n){var r=document.querySelectorAll(t);Object.keys(e).forEach(function(t){var i=u(t,r),a=e[t];i&&(o(i,a,n),s(i.sameCaseKeyword))}),i()}n.d(t,"a",function(){return _});var c=n(310),f=n.n(c),l=n(31),p=n.n(l),d=n(311),h=n.n(d),y=n(36),m=(n.n(y),n(45)),v=(n.n(m),n(7)),E=(n.n(v),n(327)),g=(n.n(E),n(107)),A=function(){var e=h()(p.a.mark(function e(){var t;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v.spotConfigEntry.getLoadingPromise().then(function(e){return e&&e.hostOptionsBlock&&Object(m.parseSpotOptions)(e.hostOptionsBlock)});case 2:return t=e.sent,e.abrupt("return",t||{});case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),b={};window.__SPOTIM_HANDLE_ANNOTATION_CLICK__=function(e){y.tracker.track("clicked",{item_type:"annotations",item_id:e.target.innerText.toLowerCase(),__navigate:e.target.getAttribute("href")}),e.preventDefault()},window.__SPOTIM_HANDLE_ANNOTATION_MOUSEOVER__=function(e){y.tracker.track("hovered",{item_type:"annotations",item_id:e.target.innerText.toLowerCase()})};var _=function(){var e=h()(p.a.mark(function e(){var t,n,r;return p.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A();case 2:if(t=e.sent,n=t.annotations,r=Object(E.getCanonicalUrl)(),n&&("*"===n.valid_urls||-1!==n.valid_urls.indexOf(r))){e.next=7;break}return e.abrupt("return");case 7:Object(g.a)().then(function(e){e?a(f()({},e.topic.name,e.topic.url),n.selector,n.linkClassName):y.tracker.track("no-topic-found",{item_type:"annotations"})});case 8:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=n(134),u=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,u.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(312),u=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){return function(){var t=e.apply(this,arguments);return new u.default(function(e,n){function r(o,i){try{var s=t[o](i),a=s.value}catch(e){return void n(e)}if(!s.done)return u.default.resolve(a).then(function(e){r("next",e)},function(e){r("throw",e)});e(a)}return r("next")})}}},function(e,t,n){e.exports={default:n(313),__esModule:!0}},function(e,t,n){n(135),n(35),n(33),n(314),n(325),n(326),e.exports=n(3).Promise},function(e,t,n){"use strict";var r,u,o,i,s=n(30),a=n(0),c=n(19),f=n(48),l=n(8),p=n(15),d=n(20),h=n(315),y=n(316),m=n(112),v=n(113).set,E=n(320)(),g=n(53),A=n(114),b=n(321),_=n(115),C=a.TypeError,w=a.process,O=w&&w.versions,F=O&&O.v8||"",D=a.Promise,B="process"==f(w),S=function(){},T=u=g.f,x=!!function(){try{var e=D.resolve(1),t=(e.constructor={})[n(1)("species")]=function(e){e(S,S)};return(B||"function"==typeof PromiseRejectionEvent)&&e.then(S)instanceof t&&0!==F.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(e){}}(),j=function(e){var t;return!(!p(e)||"function"!=typeof(t=e.then))&&t},I=function(e,t){if(!e._n){e._n=!0;var n=e._c;E(function(){for(var r=e._v,u=1==e._s,o=0;n.length>o;)!function(t){var n,o,i,s=u?t.ok:t.fail,a=t.resolve,c=t.reject,f=t.domain;try{s?(u||(2==e._h&&k(e),e._h=1),!0===s?n=r:(f&&f.enter(),n=s(r),f&&(f.exit(),i=!0)),n===t.promise?c(C("Promise-chain cycle")):(o=j(n))?o.call(n,a,c):a(n)):c(r)}catch(e){f&&!i&&f.exit(),c(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&P(e)})}},P=function(e){v.call(a,function(){var t,n,r,u=e._v,o=R(e);if(o&&(t=A(function(){B?w.emit("unhandledRejection",u,e):(n=a.onunhandledrejection)?n({promise:e,reason:u}):(r=a.console)&&r.error&&r.error("Unhandled promise rejection",u)}),e._h=B||R(e)?2:1),e._a=void 0,o&&t.e)throw t.v})},R=function(e){return 1!==e._h&&0===(e._a||e._c).length},k=function(e){v.call(a,function(){var t;B?w.emit("rejectionHandled",e):(t=a.onrejectionhandled)&&t({promise:e,reason:e._v})})},M=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),I(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=j(e))?E(function(){var r={_w:n,_d:!1};try{t.call(e,c(L,r,1),c(M,r,1))}catch(e){M.call(r,e)}}):(n._v=e,n._s=1,I(n,!1))}catch(e){M.call({_w:n,_d:!1},e)}}};x||(D=function(e){h(this,D,"Promise","_h"),d(e),r.call(this);try{e(c(L,this,1),c(M,this,1))}catch(e){M.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(322)(D.prototype,{then:function(e,t){var n=T(m(this,D));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=B?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=c(L,e,1),this.reject=c(M,e,1)},g.f=T=function(e){return e===D||e===i?new o(e):u(e)}),l(l.G+l.W+l.F*!x,{Promise:D}),n(34)(D,"Promise"),n(323)("Promise"),i=n(3).Promise,l(l.S+l.F*!x,"Promise",{reject:function(e){var t=T(this);return(0,t.reject)(e),t.promise}}),l(l.S+l.F*(s||!x),"Promise",{resolve:function(e){return _(s&&this===i?D:this,e)}}),l(l.S+l.F*!(x&&n(324)(function(e){D.all(e).catch(S)})),"Promise",{all:function(e){var t=this,n=T(t),r=n.resolve,u=n.reject,o=A(function(){var n=[],o=0,i=1;y(e,!1,function(e){var s=o++,a=!1;n.push(void 0),i++,t.resolve(e).then(function(e){a||(a=!0,n[s]=e,--i||r(n))},u)}),--i||r(n)});return o.e&&u(o.v),n.promise},race:function(e){var t=this,n=T(t),r=n.reject,u=A(function(){y(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return u.e&&r(u.v),n.promise}})},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(19),u=n(317),o=n(318),i=n(5),s=n(76),a=n(97),c={},f={},t=e.exports=function(e,t,n,l,p){var d,h,y,m,v=p?function(){return e}:a(e),E=r(n,l,t?2:1),g=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(d=s(e.length);d>g;g++)if((m=t?E(i(h=e[g])[0],h[1]):E(e[g]))===c||m===f)return m}else for(y=v.call(e);!(h=y.next()).done;)if((m=u(y,E,h.value,t))===c||m===f)return m};t.BREAK=c,t.RETURN=f},function(e,t,n){var r=n(5);e.exports=function(e,t,n,u){try{return u?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(12),u=n(1)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[u]===e)}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(0),u=n(113).set,o=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,a="process"==n(21)(i);e.exports=function(){var e,t,n,c=function(){var r,u;for(a&&(r=i.domain)&&r.exit();e;){u=e.fn,e=e.next;try{u()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(a)n=function(){i.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var f=s.resolve(void 0);n=function(){f.then(c)}}else n=function(){u.call(r,c)};else{var l=!0,p=document.createTextNode("");new o(c).observe(p,{characterData:!0}),n=function(){p.data=l=!l}}return function(r){var u={fn:r,next:void 0};t&&(t.next=u),e||(e=u,n()),t=u}}},function(e,t,n){var r=n(0),u=r.navigator;e.exports=u&&u.userAgent||""},function(e,t,n){var r=n(10);e.exports=function(e,t,n){for(var u in t)n&&e[u]?e[u]=t[u]:r(e,u,t[u]);return e}},function(e,t,n){"use strict";var r=n(0),u=n(3),o=n(14),i=n(9),s=n(1)("species");e.exports=function(e){var t="function"==typeof u[e]?u[e]:r[e];i&&t&&!t[s]&&o.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(1)("iterator"),u=!1;try{var o=[7][r]();o.return=function(){u=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!u)return!1;var n=!1;try{var o=[7],i=o[r]();i.next=function(){return{done:n=!0}},o[r]=function(){return i},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(8),u=n(3),o=n(0),i=n(112),s=n(115);r(r.P+r.R,"Promise",{finally:function(e){var t=i(this,u.Promise||o.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(8),u=n(53),o=n(114);r(r.S,"Promise",{try:function(e){var t=u.f(this),n=o(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){"use strict";function r(){var e=document.querySelector("link[rel='canonical']"),t=e&&e.href;return t||location.protocol+"//"+location.host+location.pathname}Object.defineProperty(t,"__esModule",{value:!0}),t.getCanonicalUrl=r},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var r=n(25),u=(n.n(r),n(329)),o=(n.n(u),function(){var e=Object(r.objectFromQueryString)(window.location.href);for(var t in e)localStorage.setItem(t,e[t])}),i=function(){localStorage.removeItem(u.SPOTIM_SSO_LOGIN),localStorage.removeItem(u.SPOTIM_LOGIN_REDIRECT_URL)},s=function(){return"true"===localStorage.getItem(u.SPOTIM_SSO_LOGIN)},a=function(){var e=localStorage.getItem(u.SPOTIM_LOGIN_REDIRECT_URL);i(),window.location=e},c=function(){return"function"!=typeof window.spotimIsLoggedIn?(console.log("can't find window.spotimIsLoggedIn function"),!1):window.spotimIsLoggedIn()},f=function(){return"function"!=typeof window.spotimShowLoginModal?(console.log("can't find window.spotimShowLoginModal function"),!1):window.spotimShowLoginModal()},l=function(){setTimeout(function(){o(),!0===s()&&(!0===c()?a():f())},0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SPOTIM_SSO_LOGIN="spotim_sso_login",t.SPOTIM_LOGIN_REDIRECT_URL="spotim_login_redirect_url"},,function(e,t,n){n(136),e.exports=n(332)},function(e,t,n){"use strict";function r(e){var t=/spot\/([^\/?#]+)/,n=void 0,r=e.src.match(t);return r&&r.length>0&&(n=r[1]),n}Object.defineProperty(t,"__esModule",{value:!0});var u=(n(63),n(160)),o=n(98);Object(u.a)("Default",o.a.deferredLauncherSelector,r)}]);